From 7f6b2addb34c6711544edccfa0037320663e8bb6 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 374b1a6053f7..d6b4233b19f7 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -4022,7 +4022,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;