]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: Enable TIM timer interrupt only when needed.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Thu, 11 Mar 2010 20:10:12 +0000 (12:10 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:56 +0000 (16:01 -0700)
commiteb4265ff035b929a44fe58b8f2fd09a45e7fea07
tree4f9165c5e7bc646fd1cc76b31e59c5edf6ffe9bf
parent8427ce07d4df285b8b4b85496abf7913b4b4839e
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