瀏覽代碼

qcacld-3.0: Ignore tx timeout on SAP when wlan is suspended

SAP tx timeout indication is received when wlan is suspended
causing excessive logging to console and eventually WD
timeout.

Ignore SAP tx timeout indication when wlan is suspended.

Change-Id: Ie09ac187e6d38c12c6c33a8b4ada19c9aabc45f9
CRs-Fixed: 2705201
Yeshwanth Sriram Guntuka 4 年之前
父節點
當前提交
db69ffd8ce
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      core/hdd/src/wlan_hdd_softap_tx_rx.c

+ 5 - 0
core/hdd/src/wlan_hdd_softap_tx_rx.c

@@ -780,6 +780,11 @@ static void __hdd_softap_tx_timeout(struct net_device *dev)
 		return;
 	}
 
+	if (hdd_ctx->hdd_wlan_suspended) {
+		hdd_debug("wlan is suspended, ignore timeout");
+		return;
+	}
+
 	TX_TIMEOUT_TRACE(dev, QDF_MODULE_ID_HDD_SAP_DATA);
 
 	for (i = 0; i < NUM_TX_QUEUES; i++) {