mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09: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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user