ath9k: Enable TIM timer interrupt only when needed.
commit525ad995580f1d760cbf4a3b42df1cba3df6821b
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Thu, 11 Mar 2010 19:50:54 +0000 (11 11:50 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:51 +0000 (1 15:58 -0700)
treec1b59cdf0b2c522d1934b24157ef25c8b7337123
parentd6c28b2d48657234e15ac7ce417d25980af74ca6
ath9k: Enable TIM timer interrupt only when needed.

commit 3f7c5c10e9dc6bf90179eb9f7c06151d508fb324 upstream.

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>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c