]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: reduce scope for uninitialized variable
authorYedidya Benshimol <yedidya.ben.shimol@intel.com>
Tue, 1 Apr 2025 03:45:54 +0000 (06:45 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Apr 2025 08:39:28 +0000 (10:39 +0200)
commit99f201a9a7d59d95da75695c41b3baf72c39efd3
tree334f4589ecb524542031756e7575ee543105c3c1
parent1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95
wifi: iwlwifi: mld: reduce scope for uninitialized variable

After resuming from D3, keeping the connection or disconnecting
isn't relevant for the case of netdetect.
Reduce the scope of the keep_connection indicator to wowlan only.

Fixes: d1e879ec600f9 ("wifi: iwlwifi: add iwlmld sub-driver")
Signed-off-by: Yedidya Benshimol <yedidya.ben.shimol@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250401064530.769f76a9ad6e.I69e8f194997eb3a20e40d27fdc31002d5753d905@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/d3.c