Skip to contentSkip to conversation

iwlwifi:Fix incorrect fallthrough in switch statement in the function iwl_mvm_check_running_scans

PATCH Coelho, Luciano 1 participant 1 message Oct 8, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Coelho, Luciano

author Applied
#1 lore raw
In reply to a message not in the archive
Quoted 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_scans for the switch case IWL_MVM_SCAN_SCHED to return directly after the call to iwl_mvm_scan_stop in order to avoid fallthrough into the next case and incorrectly return zero indicating success to the caller even if the function call to iwl_mvm_scan_stop fails.

---

Applied to our internal tree with a modified commit message.

Thanks!

--
Luca.