瀏覽代碼

qcacld-3.0: Abort scan before sending vdev delete to FW

Currently in P2P GO mode, hdd is not waiting for existing scan
requests to complete before sending vdev delete. This is causing
issue in firmware.

To avoid this, abort ongoing scan requests before sending vdev
delete to the firmware.

Change-Id: I275d903c53ef01bc4c4c5be692b78b36288f4a06
CRs-Fixed: 2755340
Bapiraju Alla 4 年之前
父節點
當前提交
fb06fd042e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_main.c

+ 1 - 0
core/hdd/src/wlan_hdd_main.c

@@ -5076,6 +5076,7 @@ int hdd_vdev_destroy(struct hdd_adapter *adapter)
 	ucfg_pmo_del_wow_pattern(vdev);
 	status = ucfg_reg_11d_vdev_delete_update(vdev);
 	ucfg_scan_vdev_set_disable(vdev, REASON_VDEV_DOWN);
+	wlan_hdd_scan_abort(adapter);
 	/* Disable serialization for vdev before sending vdev delete */
 	wlan_ser_vdev_queue_disable(vdev);
 	hdd_objmgr_put_vdev(vdev);