summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Harte <hharte@broadcom.com>2010-04-08 15:56:26 -0700
committerHoward Harte <hharte@broadcom.com>2010-04-08 15:56:26 -0700
commita9ef4b70b7369807038156c5b184681ebd03f461 (patch)
treec647de4ac94fabf053d9fccfd832b723bfeb67e3
parent8fa3c24960a33ef383fff352904e8620607dbe71 (diff)
downloadbroadcom-a9ef4b70b7369807038156c5b184681ebd03f461.tar.gz
Fix clock state synchronization.
Change-Id: Ia6fdd0e33e2207f039ec58f7ab12fe8dfb90d047
-rw-r--r--bcm4329/src/dhd/sys/dhd_sdio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bcm4329/src/dhd/sys/dhd_sdio.c b/bcm4329/src/dhd/sys/dhd_sdio.c
index 3e22317..8e53377 100644
--- a/bcm4329/src/dhd/sys/dhd_sdio.c
+++ b/bcm4329/src/dhd/sys/dhd_sdio.c
@@ -689,9 +689,10 @@ dhdsdio_clkctl(dhd_bus_t *bus, uint target, bool pendok)
/* Early exit if we're already there */
if (bus->clkstate == target) {
- if (target == CLK_AVAIL)
+ if (target == CLK_AVAIL) {
dhd_os_wd_timer(bus->dhd, dhd_watchdog_ms);
bus->activity = TRUE;
+ }
return BCME_OK;
}