summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-14 15:21:17 +0100
committerJohannes Berg <johannes.berg@intel.com>2012-11-27 11:56:19 +0100
commit339afbf4819e5c7c0a0422af43b8c2eccd059abf (patch)
treec919c1b3606cc75c15260029fa0379abc33d3ebf /net/mac80211/util.c
parent53cabad70ecf0c245b41285de64a74a6c3ee9933 (diff)
downloadblackbird-op-linux-339afbf4819e5c7c0a0422af43b8c2eccd059abf.tar.gz
blackbird-op-linux-339afbf4819e5c7c0a0422af43b8c2eccd059abf.zip
mac80211: support P2P GO powersave configuration
If the low-level driver wants to support P2P GO powersave configuration, it must set the cfg80211 flags and mac80211 will pass the parameters to it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index dc7f6b264593..6e4c8bd5bfee 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1527,7 +1527,7 @@ int ieee80211_reconfig(struct ieee80211_local *local)
changed |= BSS_CHANGED_IBSS;
/* fall through */
case NL80211_IFTYPE_AP:
- changed |= BSS_CHANGED_SSID;
+ changed |= BSS_CHANGED_SSID | BSS_CHANGED_P2P_PS;
if (sdata->vif.type == NL80211_IFTYPE_AP) {
changed |= BSS_CHANGED_AP_PROBE_RESP;
OpenPOWER on IntegriCloud