mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
net: wireless: bcmdhd: Skip dhd_bus_stop() if bus is already down
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -1744,7 +1744,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