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:
gaurank kathpalia 2018-05-07 09:39:46 +05:30 • committed by nshrivas
commit ebe3fc868d

View file

@ -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,