OSDN Git Service

brcmfmac: fix watchdog timer regression
authorArend van Spriel <arend@broadcom.com>
Wed, 11 Mar 2015 15:11:33 +0000 (16:11 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 28 Apr 2015 16:49:42 +0000 (00:49 +0800)
commit73dcf288b46ac8dae0828cafa2f7d82a8551d51e
tree37fddd4afa776a12f4b0b3dc334b9f1eb605ae76
parentafcbdad496e86f039fcb4c106f626ecd26790ae0
brcmfmac: fix watchdog timer regression

The watchdog timer is used to put the device in a low-power mode when
it is idle for some time. This timer is stopped during that mode and
should be restarted upon activity. This has been broken by commit
d4150fced0365 ("brcmfmac: Simplify watchdog sleep."). This patch
restores the behaviour as it was before that commit.

Reported-by: Pontus Fuchs <pontusf@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c