mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
net: wireless: bcm4329: Skip dhd_bus_stop() if bus is already down
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
5d94d7a3b7
commit
3f4f629fc8
|
|
@ -1519,7 +1519,8 @@ dhd_dpc_thread(void *data)
|
|||
dhd_os_wake_unlock(&dhd->pub);
|
||||
}
|
||||
} else {
|
||||
dhd_bus_stop(dhd->pub.bus, TRUE);
|
||||
if (dhd->pub.up)
|
||||
dhd_bus_stop(dhd->pub.bus, TRUE);
|
||||
dhd_os_wake_unlock(&dhd->pub);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user