diff options
| author | gaurank kathpalia <gkathpal@codeaurora.org> | 2018-05-07 09:39:46 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-07 06:26:30 -0700 |
| commit | 33ffefdd85f1c05d332e447f2f637bf816abb74e (patch) | |
| tree | a428093ea5e248f6f02e703c766d36952111b0e0 | |
| parent | c2d3bdb934b9edbfe039389b5b094eefd57be589 (diff) | |
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
| -rw-r--r-- | core/sme/src/common/sme_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 834804d0ccbd..5e7c1ad96918 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2980,6 +2980,7 @@ QDF_STATUS sme_process_msg(tHalHandle hHal, cds_msg_t *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, |
