Browse Source

qcacld-3.0: Ignore peer_unmap_timer_handler during recovery

If the driver recovery is in progress, unmap events may not come
from firmware. Ignore the peer_unmap timeout in such case.

CRs-Fixed: 2033452
Change-Id: I284c57530a477953247ad325dfaddff72767aecf
Deepak Dhamdhere 8 years ago
parent
commit
d42ab7c3dc
1 changed files with 8 additions and 1 deletions
  1. 8 1
      core/dp/txrx/ol_txrx.c

+ 8 - 1
core/dp/txrx/ol_txrx.c

@@ -3306,7 +3306,14 @@ void peer_unmap_timer_handler(void *data)
 		    peer->mac_addr.raw[0], peer->mac_addr.raw[1],
 		    peer->mac_addr.raw[2], peer->mac_addr.raw[3],
 		    peer->mac_addr.raw[4], peer->mac_addr.raw[5]);
-	QDF_BUG(0);
+	if (!cds_is_driver_recovering()) {
+		/*
+		 * Add the equivalent of wma_peer_debug_dump() when available.
+		 */
+		QDF_BUG(0);
+	} else {
+		ol_txrx_err("Recovery is in progress, ignore!");
+	}
 }