qcacld-3.0: Add break statement in switch case

The API wma_inc_wow_stats lacks a break in switch case
after WOW_REASON_OEM_RESPONSE_EVENT. Due to this
execution falls through to the next case statement or
default.

Fix is to add a break after WOW_REASON_OEM_RESPONSE_EVENT

Change-Id: I0b95fd55403b29d74a471f038e518c58c81cfcf7
CRs-Fixed: 2233189
This commit is contained in:
gaurank kathpalia 2018-05-07 09:51:05 +05:30 committed by nshrivas
parent 6bf339d781
commit 3a1059e43b

View File

@ -1847,6 +1847,7 @@ static void wma_inc_wow_stats(t_wma_handle *wma,
break;
case WOW_REASON_OEM_RESPONSE_EVENT:
stats->oem_response++;
break;
case WOW_REASON_11D_SCAN:
stats->scan_11d++;
break;