mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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:
parent
cc268ff2df
commit
7f6b2addb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue