diff options
| author | Nirav Shah <nnshah@qti.qualcomm.com> | 2014-12-03 10:56:20 +0530 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-12-08 17:14:10 +0530 |
| commit | 6cf403e2d6c4e87d4c3aa5486780c46a22ed44b5 (patch) | |
| tree | 4dda1f4c2860362c622f5ce9f09a3e2351bcdf72 | |
| parent | 808f4fe7e2f8dd4f08b1e20daf13de7c5511110a (diff) | |
ecacld: HDD:Increase the log level of ROC related debug prints
Increase debug print level to detect race codition in RoC
execution path.
Change-Id: I4ccfebdb743ce373aee4b32201a9412ab9143f1c
CRs-fixed: 750618
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_p2p.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_p2p.c b/CORE/HDD/src/wlan_hdd_p2p.c index d01303366506..94f760df3f2e 100644 --- a/CORE/HDD/src/wlan_hdd_p2p.c +++ b/CORE/HDD/src/wlan_hdd_p2p.c @@ -268,20 +268,20 @@ void wlan_hdd_cancel_existing_remain_on_channel(hdd_adapter_t *pAdapter) mutex_lock(&cfgState->remain_on_chan_ctx_lock); if(cfgState->remain_on_chan_ctx != NULL) { - hddLog( LOG1, "Cancel Existing Remain on Channel"); + hddLog(LOGE, "Cancel Existing Remain on Channel"); vos_timer_stop(&cfgState->remain_on_chan_ctx->hdd_remain_on_chan_timer); pRemainChanCtx = cfgState->remain_on_chan_ctx; if (pRemainChanCtx->hdd_remain_on_chan_cancel_in_progress == TRUE) { mutex_unlock(&cfgState->remain_on_chan_ctx_lock); - hddLog( LOG1, + hddLog(LOGE, "ROC timer cancellation in progress," " wait for completion"); rc = wait_for_completion_timeout(&pAdapter->cancel_rem_on_chan_var, msecs_to_jiffies(WAIT_CANCEL_REM_CHAN)); if (!rc) { - hddLog( LOGE, + hddLog(LOGE, "%s:wait on cancel_rem_on_chan_var timed out", __func__); } @@ -914,6 +914,7 @@ void hdd_remainChanReadyHandler( hdd_adapter_t *pAdapter ) // Check for cached action frame if(pRemainChanCtx->action_pkt_buff.frame_length != 0) { + hddLog(LOGE, "%s: Sent cached action frame to supplicant", __func__); #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) cfg80211_rx_mgmt(pAdapter->dev->ieee80211_ptr, pRemainChanCtx->action_pkt_buff.freq, 0, @@ -937,7 +938,6 @@ void hdd_remainChanReadyHandler( hdd_adapter_t *pAdapter ) GFP_ATOMIC ); #endif /* LINUX_VERSION_CODE */ - hddLog( LOGE,"%s: Sent cached action frame to supplicant", __func__); vos_mem_free(pRemainChanCtx->action_pkt_buff.frame_ptr); pRemainChanCtx->action_pkt_buff.frame_length = 0; pRemainChanCtx->action_pkt_buff.freq = 0; |
