Bladeren bron

qcacld-3.0: Log optimization of hdd_validate_context

Limit logs in hdd context validation during SSR
and Load/unload.

Change-Id: I89cd609309b40dcb57a05cf72fae8690ab00db58
CRs-Fixed: 2640760
Liangwei Dong 5 jaren geleden
bovenliggende
commit
ead166aef9
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      core/hdd/src/wlan_hdd_tx_rx.c

+ 4 - 4
core/hdd/src/wlan_hdd_tx_rx.c

@@ -948,15 +948,15 @@ static void __hdd_hard_start_xmit(struct sk_buff *skb,
 
 	if (cds_is_driver_recovering() || cds_is_driver_in_bad_state() ||
 	    cds_is_load_or_unload_in_progress()) {
-		QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_INFO_HIGH,
-			  "Recovery/(Un)load in progress, dropping the packet");
+		QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_HDD_DATA,
+				   "Recovery/(Un)load in progress, dropping the packet");
 		goto drop_pkt;
 	}
 
 	hdd_ctx = adapter->hdd_ctx;
 	if (wlan_hdd_validate_context(hdd_ctx)) {
-		QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_INFO_HIGH,
-			  "Invalid HDD context");
+		QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_HDD_DATA,
+				   "Invalid HDD context");
 		goto drop_pkt;
 	}