qcacld-3.0: Replace lim_log() with pe_* log levels in lim_reassoc_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_reassoc_utils.c Change-Id: I1def193032cbba2bdcddfa7a8805123838d1d5df CRs-Fixed: 1093093
Este commit está contenido en:
cometido por
Sandeep Puligilla
padre
f620d48824
commit
cc95af04c8
@@ -131,7 +131,7 @@ void lim_handle_del_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
tpSchBeaconStruct beacon_struct;
|
||||
beacon_struct = qdf_mem_malloc(sizeof(tSchBeaconStruct));
|
||||
if (NULL == beacon_struct) {
|
||||
lim_log(pMac, LOGE, FL("beaconStruct alloc failed"));
|
||||
pe_err("beaconStruct alloc failed");
|
||||
mlmReassocCnf.resultCode =
|
||||
eSIR_SME_RESOURCES_UNAVAILABLE;
|
||||
mlmReassocCnf.protStatusCode =
|
||||
@@ -153,8 +153,7 @@ void lim_handle_del_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
&psessionEntry->dph.dphHashTable);
|
||||
if (pStaDs == NULL) {
|
||||
/* Could not add hash table entry */
|
||||
lim_log(pMac, LOGE,
|
||||
FL("could not add hash entry at DPH for "));
|
||||
pe_err("could not add hash entry at DPH for");
|
||||
lim_print_mac_addr(pMac,
|
||||
psessionEntry->limReAssocbssId, LOGE);
|
||||
mlmReassocCnf.resultCode =
|
||||
@@ -196,8 +195,7 @@ void lim_handle_del_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
lim_sta_send_add_bss(pMac, assocRsp, beacon_struct,
|
||||
bss_desc,
|
||||
false, psessionEntry)) {
|
||||
lim_log(pMac, LOGE,
|
||||
FL("Posting ADDBSS in the ReAssocCtx Failed "));
|
||||
pe_err("Posting ADDBSS in the ReAssocCtx Failed");
|
||||
retStatus = eSIR_FAILURE;
|
||||
}
|
||||
if (retStatus != eSIR_SUCCESS) {
|
||||
@@ -234,9 +232,7 @@ void lim_handle_del_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
}
|
||||
break;
|
||||
default:
|
||||
lim_log(pMac, LOGE,
|
||||
FL("DelBss in wrong system Role and SME State"));
|
||||
|
||||
pe_err("DelBss in wrong system Role and SME State");
|
||||
mlmReassocCnf.resultCode = eSIR_SME_REFUSED;
|
||||
mlmReassocCnf.protStatusCode =
|
||||
eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
|
||||
@@ -284,7 +280,7 @@ void lim_handle_add_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
pBeaconStruct =
|
||||
qdf_mem_malloc(sizeof(tSchBeaconStruct));
|
||||
if (NULL == pBeaconStruct) {
|
||||
lim_log(pMac, LOGE, FL("Unable to allocate memory"));
|
||||
pe_err("Unable to allocate memory");
|
||||
mlmReassocCnf.resultCode =
|
||||
eSIR_SME_RESOURCES_UNAVAILABLE;
|
||||
mlmReassocCnf.protStatusCode =
|
||||
@@ -296,8 +292,7 @@ void lim_handle_add_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
dph_get_hash_entry(pMac, DPH_STA_HASH_INDEX_PEER,
|
||||
&psessionEntry->dph.dphHashTable);
|
||||
if (pStaDs == NULL) {
|
||||
lim_log(pMac, LOGE,
|
||||
FL("Fail to get STA PEER entry from hash"));
|
||||
pe_err("Fail to get STA PEER entry from hash");
|
||||
mlmReassocCnf.resultCode =
|
||||
eSIR_SME_RESOURCES_UNAVAILABLE;
|
||||
mlmReassocCnf.protStatusCode = eSIR_SME_SUCCESS;
|
||||
@@ -343,8 +338,7 @@ void lim_handle_add_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
&psessionEntry->pLimReAssocReq->
|
||||
bssDescription, true,
|
||||
psessionEntry)) {
|
||||
lim_log(pMac, LOGE,
|
||||
FL("Post ADDBSS in the ReAssocCtxt Failed "));
|
||||
pe_err("Post ADDBSS in the ReAssocCtxt Failed");
|
||||
retStatus = eSIR_FAILURE;
|
||||
}
|
||||
if (retStatus != eSIR_SUCCESS) {
|
||||
@@ -390,8 +384,7 @@ void lim_handle_add_bss_in_re_assoc_context(tpAniSirGlobal pMac,
|
||||
}
|
||||
break;
|
||||
default:
|
||||
lim_log(pMac, LOGE,
|
||||
FL("DelBss in the wrong system Role and SME State"));
|
||||
pe_err("DelBss in the wrong system Role and SME State");
|
||||
mlmReassocCnf.resultCode = eSIR_SME_REFUSED;
|
||||
mlmReassocCnf.protStatusCode =
|
||||
eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
|
||||
@@ -468,8 +461,7 @@ tSirRetStatus lim_add_ft_sta_self(tpAniSirGlobal mac_ctx, uint16_t assoc_id,
|
||||
session_entry->limMlmState = eLIM_MLM_WT_ADD_STA_RSP_STATE;
|
||||
ret_code = wma_post_ctrl_msg(mac_ctx, &msg_q);
|
||||
if (eSIR_SUCCESS != ret_code) {
|
||||
lim_log(mac_ctx, LOGE,
|
||||
FL("Posting WMA_ADD_STA_REQ to HAL failed, reason=%X"),
|
||||
pe_err("Posting WMA_ADD_STA_REQ to HAL failed, reason=%X",
|
||||
ret_code);
|
||||
qdf_mem_free(add_sta_params);
|
||||
}
|
||||
@@ -500,8 +492,7 @@ lim_restore_pre_reassoc_state(tpAniSirGlobal pMac,
|
||||
{
|
||||
tLimMlmReassocCnf mlmReassocCnf;
|
||||
|
||||
lim_log(pMac, LOG1,
|
||||
FL("sessionid: %d protStatusCode: %d resultCode: %d"),
|
||||
pe_debug("sessionid: %d protStatusCode: %d resultCode: %d",
|
||||
psessionEntry->smeSessionId, protStatusCode, resultCode);
|
||||
|
||||
psessionEntry->limMlmState = eLIM_MLM_LINK_ESTABLISHED_STATE;
|
||||
|
Referencia en una nueva incidencia
Block a user