mac80211: A couple of fixes to dynamic power save.
authorVivek Natarajan <vivek.natraj@gmail.com>
Wed, 24 Dec 2008 02:28:34 +0000 (18:28 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:58:48 +0000 (15:58 -0500)
commit869717fbe43eb831cbebd03a9a66a4a4c3b406a9
tree606022280750e9427784a5fcb246ff7ea1e37f24
parentd063ed0f0cd623b45edc6f4781dda6478c56bb4f
mac80211: A couple of fixes to dynamic power save.

a) hw_config() should not be called from siwpower() for the drivers which do not support
   dynamic powersave.
b) IEEE80211_HW_NO_STACK_DYNAMIC_PS needs to be verified in set_associated() also before
   enabling the power save timers.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/wext.c