diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2008-12-19 00:35:13 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-19 23:23:57 +0300 |
commit | e0cb686ff879dc9ac045ad7258ec687088d4e450 (patch) | |
tree | 4792dc94d6a36be8367987b88b922157acf59808 /net/mac80211/main.c | |
parent | d10d0e5707fb7b8afa7e68a14d69e752604ee294 (diff) | |
download | linux-e0cb686ff879dc9ac045ad7258ec687088d4e450.tar.xz |
mac80211: enable IEEE80211_CONF_PS only when associated
Also disable power save when disassociated. It makes no sense to have
power save enabled while disassociated.
iwlwifi seems to have this check in the driver, but it's better to do this
in mac80211 instead.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions