]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mvm: simplify EMLSR blocking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 09:58:51 +0000 (12:58 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jul 2024 11:50:04 +0000 (13:50 +0200)
commitf27579ff8b9344226db63a902dc9e9cbddf07b74
treeba8ffe49bae4401d450f59823e55701915a82878
parentd81bf4b63006330d1f70a59414eae61e1a60e677
wifi: iwlwifi: mvm: simplify EMLSR blocking

If EMLSR is already blocked for the same reason that
it's blocked for again, there's no need to actually
do any work, so exit early from the function. Also,
print the state after modifying it, so it's clearer.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240703125541.6995464f0bac.Iac9fe3546ca0a0d6bc6666c822a667ab257419a9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/link.c