]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: mvm: Fix scan channel flags settings
authorIlan Peer <ilan.peer@intel.com>
Thu, 26 Aug 2021 19:47:42 +0000 (22:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:19 +0000 (13:42 +0200)
commit6b5b94b419f74788e07820c9cc63cd97c668513b
tree921f452d7557a0cb08f72dbcc0db51181b7ba6b3
parente5126776470d1a6d619c08742c8d2ab700a9e1e1
iwlwifi: mvm: Fix scan channel flags settings

[ Upstream commit 090f1be3abf3069ef856b29761f181808bf55917 ]

The iwl_mvm_scan_ch_n_aps_flag() is called with a variable
before the value of the variable is set. Fix it.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210826224715.f6f188980a5e.Ie7331a8b94004d308f6cbde44e519155a5be91dd@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c