aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-01 15:26:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:01:51 -0400
commitbc92afd92088ab41223383cc6863ab4792533c54 (patch)
treea31d14843f5a63a4a4561bb2ac59e83f4550433c /net/mac80211/mlme.c
parentf21293549f60f88c74fcb9944737f11048896dc4 (diff)
cfg80211: implement iwpower
Just on/off and timeout, and with a hacky cfg80211 method until we figure out what we want, though this is probably sufficient as we want to use pm_qos for wifi everywhere. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index fbb93a70ddc7..2a7860009f9c 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2360,11 +2360,6 @@ void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata)
2360 ifmgd->flags |= IEEE80211_STA_WMM_ENABLED; 2360 ifmgd->flags |= IEEE80211_STA_WMM_ENABLED;
2361 2361
2362 hw_flags = sdata->local->hw.flags; 2362 hw_flags = sdata->local->hw.flags;
2363
2364 if (hw_flags & IEEE80211_HW_SUPPORTS_PS) {
2365 ifmgd->powersave = CONFIG_MAC80211_DEFAULT_PS_VALUE;
2366 sdata->local->hw.conf.dynamic_ps_timeout = 500;
2367 }
2368} 2363}
2369 2364
2370/* configuration hooks */ 2365/* configuration hooks */