net: wireless: bcm4329: Fix dhd_bus_watchdog() race conditions

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Greg Goldman
2010-08-10 15:15:26 -07:00
committed by Colin Cross
parent 95f265ce59
commit 3a36e1fb80

View File

@@ -4694,8 +4694,6 @@ dhd_bus_watchdog(dhd_pub_t *dhdp)
bus->idlecount = 0;
if (bus->activity) {
bus->activity = FALSE;
dhd_os_wd_timer(bus->dhd,dhd_watchdog_ms);
} else {
dhdsdio_clkctl(bus, CLK_NONE, FALSE);
}
}