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)
commit04b089922412ad3d0cee0046fd0cb495ef22b8e8
tree35d5ca1bb86edfb2c5b2ce745f32303e190245e2
parentf02d2ccd61638756b3b48db771ee419f6be7d011
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