diff options
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_early_suspend.c | 2 | ||||
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessMessageQueue.c | 17 |
2 files changed, 12 insertions, 7 deletions
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c index 529baddc5c25..b22abc1d723c 100644 --- a/CORE/HDD/src/wlan_hdd_early_suspend.c +++ b/CORE/HDD/src/wlan_hdd_early_suspend.c @@ -713,7 +713,7 @@ VOS_STATUS hdd_conf_arp_offload(hdd_adapter_t *pAdapter, v_BOOL_t fenable) tSirHostOffloadReq offLoadRequest; hdd_context_t *pHddCtx = WLAN_HDD_GET_CTX(pAdapter); - hddLog(VOS_TRACE_LEVEL_ERROR, "%s: \n", __func__); + hddLog(VOS_TRACE_LEVEL_INFO, "%s: \n", __func__); if(fenable) { diff --git a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c index 06b32d655fba..fc5d2a0f6975 100644 --- a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c +++ b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c @@ -1258,12 +1258,17 @@ limProcessMessages(tpAniSirGlobal pMac, tpSirMsgQ limMsg) case eWNI_SME_SCAN_ABORT_IND: { - tANI_U8 *pSessionId = (tANI_U8 *)limMsg->bodyptr; - limProcessAbortScanInd(pMac, *pSessionId); - vos_mem_free((v_VOID_t *)limMsg->bodyptr); - limMsg->bodyptr = NULL; - break; - } + tSirMbMsg *pMsg = limMsg->bodyptr; + tANI_U8 sessionId; + if (pMsg) + { + sessionId = (tANI_U8) pMsg->data[0]; + limProcessAbortScanInd(pMac, sessionId); + vos_mem_free((v_VOID_t *)limMsg->bodyptr); + limMsg->bodyptr = NULL; + } + } + break; case eWNI_SME_START_REQ: case eWNI_SME_SYS_READY_IND: #ifndef WNI_ASKEY_NON_SUPPORT_FEATURE |
