ath9k: Move PS wakeup/restore calls from isr to tasklet
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Fri, 15 May 2009 06:47:16 +0000 (02:47 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:30 +0000 (14:46 -0400)
commit153e080da6a07ed888a0a59c45e28bc7351407ff
tree7d772b65967747146b6b14af2a61fa3f53617edd
parente3da574a0ddd3e90a1e2b788b84b94bc17a75172
ath9k: Move PS wakeup/restore calls from isr to tasklet

We do not need to do this in ath_isr() and it looks like the modified
version ends up being more stable as far as being able receive beacon
frames is concerned. Furthermore, this reduces need to move between
AWAKE and NETWORK SLEEP states when processing some unrelated
interrupts.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c