mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Add break statement in switch case
The API sme_process_msg lacks a break in switch case after eWNI_SME_SET_DUAL_MAC_CFG_RESP. Due to this execution falls through to the next case statement or default. Fix is to add a break after eWNI_SME_SET_DUAL_MAC_CFG_RESP Change-Id: I7466dfdc8c8cbe186f61f47371137dca958e1d08 CRs-Fixed: 2233190
This commit is contained in:
parent
8c8a9e9512
commit
ebe3fc868d
1 changed files with 1 additions and 0 deletions
|
|
@ -2341,6 +2341,7 @@ QDF_STATUS sme_process_msg(tHalHandle hHal, struct scheduler_msg *pMsg)
|
|||
} else {
|
||||
sme_err("Empty message for: %d", pMsg->type);
|
||||
}
|
||||
break;
|
||||
case eWNI_SME_SET_THERMAL_LEVEL_IND:
|
||||
if (pMac->sme.set_thermal_level_cb)
|
||||
pMac->sme.set_thermal_level_cb(pMac->hHdd,
|
||||
|
|
|
|||
Loading…
Reference in a new issue