mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
net: wireless: bcmdhd: Avoid suspend on watchdog
Change-Id: Ic41a8f369a2ee8b2a0084e6a1cbf6b454ff53353 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -4875,7 +4875,8 @@ int dhd_os_check_wakelock(void *dhdp)
|
||||
return 0;
|
||||
dhd = (dhd_info_t *)(pub->info);
|
||||
|
||||
if (dhd && wake_lock_active(&dhd->wl_wifi))
|
||||
if (dhd && (wake_lock_active(&dhd->wl_wifi) ||
|
||||
wake_lock_active(&dhd->wl_wdwake)))
|
||||
return 1;
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user