]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix incorrect fallthrough in iwl_mvm_check_running_scans()
authorNicholas Krause <xerofoify@gmail.com>
Wed, 23 Sep 2015 00:24:19 +0000 (20:24 -0400)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 1 Dec 2015 19:17:52 +0000 (21:17 +0200)
commit9ece6fdfad84c14ea18e087d255f461fc9797737
tree35d5ca1bb86edfb2c5b2ce745f32303e190245e2
parenteb7ce6157f621df3511716083e521ec22277d08a
iwlwifi: mvm: fix incorrect fallthrough in iwl_mvm_check_running_scans()

In the iwl_mvm_check_running_scans() we were mistakenly ignoring the
value returned by iwl_mvm_scan_stop() for scheduled scans and falling
thorugh to the next case, which caused us to always return zero.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c