mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Logging level changes on wlan HOST
qcacld-2.0 to qcacld-3.0 propagation. As there are a lot of prints dropped on the console in short duration, it leads to interrupt disablement on the cpu. So reducing the logging level of log statement from ERROR to INFO Change-Id: I3eefac49378a7bfbcc235b1dd3362e1213fa1f42 CRs-Fixed: 886644 (cherry picked from commit 06c7d1b4aa89fb5c25241cec0558d559ee93b683)
This commit is contained in:
parent
1a77236aa5
commit
05d124f8cb
4 changed files with 9 additions and 22 deletions
|
|
@ -472,8 +472,7 @@ static void wlan_hdd_tdls_free_list(tdlsCtx_t *pHddTdlsCtx)
|
|||
struct list_head *pos, *q;
|
||||
|
||||
if (NULL == pHddTdlsCtx) {
|
||||
QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("pHddTdlsCtx is NULL"));
|
||||
hdd_notice("pHddTdlsCtx is NULL");
|
||||
return;
|
||||
}
|
||||
for (i = 0; i < TDLS_PEER_LIST_SIZE; i++) {
|
||||
|
|
@ -814,7 +813,7 @@ int wlan_hdd_tdls_init(hdd_adapter_t *pAdapter)
|
|||
|
||||
if (false == pHddCtx->config->fEnableTDLSImplicitTrigger) {
|
||||
pHddCtx->tdls_mode = eTDLS_SUPPORT_EXPLICIT_TRIGGER_ONLY;
|
||||
hdd_err("TDLS Implicit trigger not enabled!");
|
||||
hdd_notice("TDLS Implicit trigger not enabled!");
|
||||
} else if (true == pHddCtx->config->fTDLSExternalControl) {
|
||||
pHddCtx->tdls_mode = eTDLS_SUPPORT_EXTERNAL_CONTROL;
|
||||
} else {
|
||||
|
|
@ -855,7 +854,7 @@ void wlan_hdd_tdls_exit(hdd_adapter_t *pAdapter)
|
|||
}
|
||||
|
||||
if (!test_bit(TDLS_INIT_DONE, &pAdapter->event_flags)) {
|
||||
hdd_err("TDLS init was not done, exit");
|
||||
hdd_info("TDLS init was not done, exit");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -2371,8 +2370,7 @@ void wlan_hdd_tdls_disconnection_callback(hdd_adapter_t *pAdapter)
|
|||
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
|
||||
if (NULL == pHddTdlsCtx) {
|
||||
mutex_unlock(&pHddCtx->tdls_lock);
|
||||
QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("pHddTdlsCtx is NULL"));
|
||||
hdd_notice("pHddTdlsCtx is NULL");
|
||||
return;
|
||||
}
|
||||
pHddTdlsCtx->discovery_sent_cnt = 0;
|
||||
|
|
@ -2500,8 +2498,7 @@ static hddTdlsPeer_t *wlan_hdd_tdls_find_progress_peer(hdd_adapter_t *pAdapter,
|
|||
tdlsCtx_t *pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);;
|
||||
|
||||
if (NULL == pHddTdlsCtx) {
|
||||
QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("pHddTdlsCtx is NULL"));
|
||||
hdd_notice("pHddTdlsCtx is NULL");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12958,8 +12958,7 @@ QDF_STATUS sme_update_dsc_pto_up_mapping(tHalHandle hHal,
|
|||
}
|
||||
|
||||
if (!pSession->QosMapSet.present) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_WARN,
|
||||
FL("QOS Mapping IE not present"));
|
||||
hdd_notice("QOS Mapping IE not present");
|
||||
sme_release_global_lock(&pMac->sme);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -570,10 +570,9 @@ static int wlan_logging_thread(void *Arg)
|
|||
break;
|
||||
}
|
||||
|
||||
if (gwlan_logging.exit) {
|
||||
pr_err("%s: Exiting the thread\n", __func__);
|
||||
if (gwlan_logging.exit)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (test_and_clear_bit(HOST_LOG_DRIVER_MSG,
|
||||
&gwlan_logging.eventFlag)) {
|
||||
|
|
@ -623,8 +622,6 @@ static int wlan_logging_thread(void *Arg)
|
|||
}
|
||||
}
|
||||
|
||||
pr_info("%s: Terminating\n", __func__);
|
||||
|
||||
complete_and_exit(&gwlan_logging.shutdown_comp, 0);
|
||||
|
||||
return 0;
|
||||
|
|
@ -685,9 +682,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf)
|
|||
int i = 0;
|
||||
unsigned long irq_flag;
|
||||
|
||||
pr_info("%s: Initalizing FEConsoleLog = %d NumBuff = %d\n",
|
||||
__func__, log_fe_to_console, num_buf);
|
||||
|
||||
gapp_pid = INVALID_PID;
|
||||
|
||||
gplog_msg = (struct log_msg *)vmalloc(num_buf * sizeof(struct log_msg));
|
||||
|
|
@ -738,7 +732,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf)
|
|||
|
||||
nl_srv_register(ANI_NL_MSG_LOG, wlan_logging_proc_sock_rx_msg);
|
||||
|
||||
pr_info("%s: Activated wlan_logging svc\n", __func__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -770,8 +763,6 @@ int wlan_logging_sock_deactivate_svc(void)
|
|||
vfree(gplog_msg);
|
||||
gplog_msg = NULL;
|
||||
|
||||
pr_info("%s: Deactivate wlan_logging svc\n", __func__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ static void ptt_sock_proc_reg_req(tAniHdr *wmsg, int radio)
|
|||
rspmsg.wniHdr.length = cpu_to_be16(sizeof(rspmsg));
|
||||
if (ptt_sock_send_msg_to_app((tAniHdr *) &rspmsg.wniHdr, radio,
|
||||
ANI_NL_MSG_PUMAC, ptt_pid) < 0) {
|
||||
PTT_TRACE(QDF_TRACE_LEVEL_ERROR,
|
||||
PTT_TRACE(QDF_TRACE_LEVEL_INFO,
|
||||
"%s: Error sending ANI_MSG_APP_REG_RSP to pid[%d]\n",
|
||||
__func__, ptt_pid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue