aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/fcrypt.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-19 12:21:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-02-19 15:52:50 -0500
commitd8728ee919282c7b01b65cd479ec1e2a9c5d3ba8 (patch)
tree3ba3db193e2987927ba8d413066333395b387261 /crypto/fcrypt.c
parent528c3126a98e75f47fc9fa11b243c82a59271d0d (diff)
ath9k: fix beacon timer restart after a card reset
In AP mode, ath_beacon_config_ap only restarts the timer if a TSF restart is requested. Apparently this was added, because this function unconditionally sets the flag for TSF reset. The problem with this is, that ath9k_hw_reset() clobbers the timer registers (specified in the initvals), thus effectively disabling the SWBA interrupt whenever a card reset without TSF reset is issued (happens in a few places in the code). This patch fixes ath_beacon_config_ap to only issue the TSF reset flag when necessary, but reinitialize the timer unconditionally. Tests show, that this is enough to keep the SWBA interrupt going after a call to ath_reset() Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions