Преглед изворни кода

qcacld-3.0: revert "qcacld-3.0: Cancel scan before set mac address"

This reverts commit I440bcfbc3b9699ab42d4304535cc2d86d702d21d.
The "Roc delay set mac issue" is fixed by change
If53d5ee446fc5f4df2fcf117a436133116270b9e

Change-Id: Ica97a9d829e74a8b43030086d478bbfb125a371e
CRs-Fixed: 3381663
Liangwei Dong пре 2 година
родитељ
комит
b9383fb56a
1 измењених фајлова са 0 додато и 6 уклоњено
  1. 0 6
      core/hdd/src/wlan_hdd_main.c

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

@@ -5352,12 +5352,6 @@ static int __hdd_set_mac_address(struct net_device *dev, void *addr)
 		       QDF_MAC_ADDR_REF(mac_addr.bytes), dev->name);
 
 	if (net_if_running && adapter->vdev) {
-		if (ucfg_scan_get_vdev_status(adapter->vdev) !=
-						SCAN_NOT_IN_PROGRESS)
-			wlan_abort_scan(hdd_ctx->pdev, INVAL_PDEV_ID,
-					adapter->vdev_id,
-					INVALID_SCAN_ID, false);
-
 		ret = hdd_update_vdev_mac_address(hdd_ctx, adapter, mac_addr);
 		if (ret)
 			return ret;