Thread (1 message) 1 message, 1 author, 2015-10-08

Re: [PATCH] iwlwifi:Fix incorrect fallthrough in switch statement in the function iwl_mvm_check_running_scans

From: Coelho, Luciano <hidden>
Date: 2015-10-08 08:30:32
Also in: linux-wireless, lkml

On Tue, 2015-09-22 at 20:24 -0400, Nicholas Krause wrote:
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.

Signed-off-by: Nicholas Krause <redacted>
---
Applied to our internal tree with a modified commit message.

Thanks!

--
Luca.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help