Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278404
b: refs/heads/master
c: cad2b26
h: refs/heads/master
v: v3
  • Loading branch information
Franky Lin authored and John W. Linville committed Nov 28, 2011
1 parent c235e2b commit 969db88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8d169aa00d0356f915e84dbdf6c9be381cce34a4
refs/heads/master: cad2b26b1010d0694d2f08d408486451b9f919d2
12 changes: 6 additions & 6 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3535,14 +3535,14 @@ void brcmf_sdbrcm_isr(void *arg)
complete(&bus->dpc_wait);
}

static bool brcmf_sdbrcm_bus_watchdog(struct brcmf_pub *drvr)
static bool brcmf_sdbrcm_bus_watchdog(struct brcmf_sdio *bus)
{
struct brcmf_sdio *bus;
#ifdef BCMDBG
struct brcmf_bus *bus_if = dev_get_drvdata(bus->sdiodev->dev);
#endif /* BCMDBG */

brcmf_dbg(TIMER, "Enter\n");

bus = drvr->bus;

/* Ignore the timer if simulating bus down */
if (bus->sleeping)
return false;
Expand Down Expand Up @@ -3586,7 +3586,7 @@ static bool brcmf_sdbrcm_bus_watchdog(struct brcmf_pub *drvr)
}
#ifdef BCMDBG
/* Poll for console output periodically */
if (drvr->bus_if->state == BRCMF_BUS_DATA &&
if (bus_if->state == BRCMF_BUS_DATA &&
bus->console_interval != 0) {
bus->console.count += BRCMF_WD_POLL_MS;
if (bus->console.count >= bus->console_interval) {
Expand Down Expand Up @@ -3801,7 +3801,7 @@ brcmf_sdbrcm_watchdog_thread(void *data)
if (kthread_should_stop())
break;
if (!wait_for_completion_interruptible(&bus->watchdog_wait)) {
brcmf_sdbrcm_bus_watchdog(bus->drvr);
brcmf_sdbrcm_bus_watchdog(bus);
/* Count the tick for reference */
bus->drvr->tickcnt++;
} else
Expand Down

0 comments on commit 969db88

Please sign in to comment.