qcacld-3.0: Reject interface up when the recovery is inprogress

During the interface UP the driver will take rtnl lock and if the
recovery is going on at the same time it will wait for the recovery
to complete.

If its a modem ssr, the IPA related module would register all the
netdevices which need the rtnl_lock held by the driver.

Reject the interface up when the SSR is inprogress.

Change-Id: I7b2451f16c86cbe86a7c377d112bec12f7eb0252
CRs-Fixed: 2693540
This commit is contained in:
Arun Kumar Khandavalli authored and nshrivas committed 2020-06-09 12:18:54 -07:00
1 parent 0a59037349
commit bfd2d2108c
1 file changed
+1 -1
+1 -1
View File
@@ -4023,7 +4023,7 @@ static int hdd_open(struct net_device *net_dev)
int errno;
struct osif_vdev_sync *vdev_sync;
errno = osif_vdev_sync_trans_start_wait(net_dev, &vdev_sync);
errno = osif_vdev_sync_trans_start(net_dev, &vdev_sync);
if (errno)
return errno;