qcacld-3.0: HDD_DATA: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.
Change-Id: I7228229a897bdbccc1a5aa3f01b57770e722cffb
CRs-Fixed: 2014745
diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c
index 3e5bbbb..f10f98f 100644
--- a/core/hdd/src/wlan_hdd_softap_tx_rx.c
+++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c
@@ -526,14 +526,14 @@
for (i = 0; i < NUM_TX_QUEUES; i++) {
txq = netdev_get_tx_queue(dev, i);
QDF_TRACE(QDF_MODULE_ID_HDD_DATA,
- QDF_TRACE_LEVEL_ERROR,
- "Queue%d status: %d txq->trans_start %lu",
+ QDF_TRACE_LEVEL_DEBUG,
+ "Queue: %d status: %d txq->trans_start: %lu",
i, netif_tx_queue_stopped(txq), txq->trans_start);
}
wlan_hdd_display_netif_queue_history(hdd_ctx);
cdp_dump_flow_pool_info(cds_get_context(QDF_MODULE_ID_SOC));
- QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_ERROR,
+ QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_DEBUG,
"carrier state: %d", netif_carrier_ok(dev));
hdd_wlan_datastall_sap_event();
}
@@ -685,7 +685,7 @@
pAdapter = (hdd_adapter_t *)context;
if (unlikely(WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) {
- QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_FATAL,
+ QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_ERROR,
"Magic cookie(%x) for adapter sanity verification is invalid",
pAdapter->magic);
return QDF_STATUS_E_FAILURE;