|
@@ -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;
|