iwlwifi:Fix incorrect fallthrough in switch statement in the function iwl_mvm_check_running_scans
Subsystems (2)
Coelho, Luciano
AppliedQuoted 9 lines · Nicholas Krause
This fixes incorrect fallthrough in the switch statment checking the scan type passed by the caller to
iwl_mvm_check_running_scansfor the switch caseIWL_MVM_SCAN_SCHEDto return directly after the call toiwl_mvm_scan_stopin order to avoid fallthrough into the next case and incorrectly return zero indicating success to the caller even if the function call toiwl_mvm_scan_stopfails.Signed-off-by Nicholas Krause <[email protected]>---
Applied to our internal tree with a modified commit message.
Thanks!
--
Luca.