Bladeren bron

qcacld-3.0: Use dsc vdev start wait api for hdd open

HDD open can come in the middle of idle shutdown and if the vdev start
wait API is not in use, HDD open will fail which will result into WIFI
on failure. Hence, use dsc vdev start wait api for HDD open.

Change-Id: I398879d9669d0a9124e844fc325065299a1d7259
CRs-Fixed: 2540661
Alan Chen 5 jaren geleden
bovenliggende
commit
4bc1c117ad
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      core/hdd/src/wlan_hdd_main.c

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

@@ -3546,7 +3546,7 @@ static int hdd_open(struct net_device *net_dev)
 	int errno;
 	struct osif_vdev_sync *vdev_sync;
 
-	errno = osif_vdev_sync_trans_start(net_dev, &vdev_sync);
+	errno = osif_vdev_sync_trans_start_wait(net_dev, &vdev_sync);
 	if (errno)
 		return errno;