Re: [PATCH] iwlwifi:Fix incorrect fallthrough in switch statement in the function iwl_mvm_check_running_scans
From: Coelho, Luciano
Date: Thu Oct 08 2015 - 04:30:38 EST
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 <xerofoify@xxxxxxxxx>
> ---
Applied to our internal tree with a modified commit message.
Thanks!
--
Luca.