Bläddra i källkod

qcacld-3.0: Flush target_if vdev timers while shutdown

While wlan driver is shutting down and target_if response timer for
vdev is running then, target_if response timers for vdev are flushed.

Change-Id: Idecd5a54c5d824e3dafa992529ca54564bb73c93
CRs-Fixed: 2529278
Abhishek Ambure 5 år sedan
förälder
incheckning
e9af5b563a
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5 1
      core/wma/src/wma_main.c

+ 5 - 1
core/wma/src/wma_main.c

@@ -1947,12 +1947,16 @@ static void wma_cleanup_hold_req(tp_wma_handle wma)
 static QDF_STATUS
 wma_cleanup_vdev_resp_and_hold_req(struct scheduler_msg *msg)
 {
+	tp_wma_handle wma;
+
 	if (!msg || !msg->bodyptr) {
 		WMA_LOGE(FL("msg or body pointer is NULL"));
 		return QDF_STATUS_E_INVAL;
 	}
 
-	wma_cleanup_hold_req(msg->bodyptr);
+	wma = msg->bodyptr;
+	target_if_flush_vdev_timers(wma->pdev);
+	wma_cleanup_hold_req(wma);
 
 	return QDF_STATUS_SUCCESS;
 }