aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2011-11-09 12:29:06 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-11-11 12:32:50 -0500
commit8e1b23b9ed427c3bd4c69503fed64231458d3edb (patch)
tree41a766b55dbddc5093ea6e7dc90e1783a9d503d1 /net/mac80211/util.c
parentNFC: Check if NCI data flow control is used (diff)
downloadlinux-dev-8e1b23b9ed427c3bd4c69503fed64231458d3edb.tar.xz
linux-dev-8e1b23b9ed427c3bd4c69503fed64231458d3edb.zip
mac80211: add recalc PS in ieee80211_reconfig()
Driver should be instructed to enter PS AFTER reconfiguring ASSOCIATED (in STA case) using ieee80211_bss_info_change_notify same as it's being done in ieee80211_set_associated() Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 98ca5479324b..6ed0aa430789 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1093,6 +1093,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
}
}
+ ieee80211_recalc_ps(local, -1);
+
/*
* Clear the WLAN_STA_BLOCK_BA flag so new aggregation
* sessions can be established after a resume.