mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 05:12:12 -05:00
qcacld-3.0: Replace sms_log() with sme_* log levels in p2p_api.c
Replace sms_log() with sme_* appropriate log levels in p2p_api.c. Change-Id: I6d9981e55cfe13b303a46448c21d7d469f3330b7 CRs-Fixed: 2020798
This commit is contained in:
parent
5204f56f39
commit
91fe3637f9
1 changed files with 6 additions and 10 deletions
|
|
@ -49,14 +49,12 @@ QDF_STATUS p2p_process_remain_on_channel_cmd(tpAniSirGlobal pMac,
|
|||
CSR_GET_SESSION(pMac, p2pRemainonChn->sessionId);
|
||||
|
||||
if (!pSession) {
|
||||
sms_log(pMac, LOGE, FL(" session %d not found "),
|
||||
p2pRemainonChn->sessionId);
|
||||
sme_err("session %d not found", p2pRemainonChn->sessionId);
|
||||
return status;
|
||||
}
|
||||
|
||||
if (!pSession->sessionActive) {
|
||||
sms_log(pMac, LOGE,
|
||||
FL(" session %d is invalid or listen is disabled "),
|
||||
sme_err("session %d is invalid or listen is disabled",
|
||||
p2pRemainonChn->sessionId);
|
||||
return status;
|
||||
}
|
||||
|
|
@ -64,8 +62,7 @@ QDF_STATUS p2p_process_remain_on_channel_cmd(tpAniSirGlobal pMac,
|
|||
|
||||
if (len > 0xFFFF) {
|
||||
/*In coming len for Msg is more then 16bit value */
|
||||
sms_log(pMac, LOGE, FL(" Message length is very large, %d"),
|
||||
len);
|
||||
sme_err("Message length is very large, %d", len);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
@ -110,7 +107,7 @@ QDF_STATUS sme_remain_on_chn_rsp(tpAniSirGlobal pMac, uint8_t *pMsg)
|
|||
|
||||
csr_get_active_scan_entry(pMac, rsp->scan_id, &pEntry);
|
||||
if (!pEntry) {
|
||||
sms_log(pMac, LOGE, FL("No cmd found in active list."));
|
||||
sme_err("No cmd found in active list");
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
@ -149,11 +146,10 @@ QDF_STATUS sme_remain_on_chn_ready(tHalHandle hHal, uint8_t *pMsg)
|
|||
|
||||
csr_get_active_scan_entry(pMac, rsp->scan_id, &pEntry);
|
||||
if (!pEntry) {
|
||||
sms_log(pMac, LOGE, FL("No cmd found in active list."));
|
||||
sme_err("No cmd found in active list");
|
||||
return status;
|
||||
}
|
||||
sms_log(pMac, LOG1,
|
||||
FL("Ready Ind %d %d"), rsp->session_id, rsp->scan_id);
|
||||
sme_debug("Ready Ind %d %d", rsp->session_id, rsp->scan_id);
|
||||
pCommand = GET_BASE_ADDR(pEntry, tSmeCmd, Link);
|
||||
if (eSmeCommandRemainOnChannel == pCommand->command) {
|
||||
RoamInfo.roc_scan_id = rsp->scan_id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue