diff options
| author | Krishna Kumaar Natarajan <kknatara@qca.qualcomm.com> | 2014-12-22 12:33:58 -0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-12-23 20:34:56 +0530 |
| commit | 12855cf5d56705c3d906c4e88f7f4fa5777b33c2 (patch) | |
| tree | 9065f843ea68646ab0dc9e07f5485ff482bac467 | |
| parent | c4aae49d6b32d500bbe1d2a4194681bd655203af (diff) | |
qcacld: WMA: Fix kernel panic due to memory corruption
Currenlty we do not have a break in wma_mc_process_msg for
SIR_HAL_SET_BASE_MACADDR_IND case which results in memory
corruption.
This change set add break for this case to avoid unexpected
memory free and other corruptions.
Change-Id: I3eff3056755d3dd9356c1593ad357761e5b1209a
CRs-Fixed: 774629
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index f67de1dbb324..0611194bd8a8 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -23630,6 +23630,7 @@ VOS_STATUS wma_mc_process_msg(v_VOID_t *vos_context, vos_msg_t *msg) wma_set_base_macaddr_indicate(wma_handle, (tSirMacAddr *)msg->bodyptr); vos_mem_free(msg->bodyptr); + break; case WDA_LINK_STATUS_GET_REQ: wma_process_link_status_req(wma_handle, (tAniGetLinkStatus *)msg->bodyptr); |
