From bfd2d2108c3cb4e882cbf443a215644bfa4d0822 Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Thu, 28 May 2020 08:14:16 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index c724d285289a..4c80ebe760ca 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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;