ath9k: Enable TIM timer interrupt only when needed.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Wed, 3 Feb 2010 17:21:13 +0000 (22:51 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:54 +0000 (16:50 -0500)
commit3f7c5c10e9dc6bf90179eb9f7c06151d508fb324
treed630236500fd928c51d78dae71febf49ea26ba5c
parent1a20034a73a40b8056731f9db0c535cec2961eb7
ath9k: Enable TIM timer interrupt only when needed.

The TIM timer interrupt is enabled even before the ACK of nullqos
is received which is unnecessary.

Also clean up the CONF_PS part of config callback properly for
better readability.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c