ath9k: optimize the hardware hang check
authorFelix Fietkau <nbd@openwrt.org>
Thu, 12 Apr 2012 20:35:58 +0000 (22:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:19:28 +0000 (14:19 -0400)
commitb381fa3229a30f6d7b0e6053314c4a5378c9389d
treedc699d531cc66394aa658ae458fc0545e5e56a7b
parent7b27ba4e9c8053ca73e2b21ece804f7e80c07ba3
ath9k: optimize the hardware hang check

Since it's only called when beacons are stuck, move it to the SWBA handler
tasklet, to avoid doing redundant checks on every single interrupt.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/main.c