]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: fix watchdog timer regression
authorArend van Spriel <arend@broadcom.com>
Wed, 11 Mar 2015 15:11:33 +0000 (16:11 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Mar 2015 14:10:37 +0000 (16:10 +0200)
commit4d556d60ffb14c78b3d0918c72e3048405842d3c
tree50c0b8160f4812ffa01ab924939bdbf2c13b887c
parent944c208bf54be5ae846b9b94cf02c8b607cb5d81
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c