summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorArik Nemtsov2011-09-04 10:11:32 +0200
committerJohn W. Linville2011-09-14 19:56:26 +0200
commit7827493b886c307bc497a669305207f8a5b36eb2 (patch)
treee7d109fc3a2e78ee4f8ff56d79704d6280dc1c22 /net/mac80211/util.c
parentb43: LCN-PHY: load TX gain table on init (diff)
downloadkernel-qcow2-linux-7827493b886c307bc497a669305207f8a5b36eb2.tar.gz
kernel-qcow2-linux-7827493b886c307bc497a669305207f8a5b36eb2.tar.xz
kernel-qcow2-linux-7827493b886c307bc497a669305207f8a5b36eb2.zip
mac80211: add ssid config to bss information in AP-mode
Set SSID information from nl80211 beacon parameters. Advertise changes in SSID to low level drivers. Signed-off-by: Arik Nemtsov <arik@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 1c1080274730..4b1466d5b6a1 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1077,6 +1077,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
changed |= BSS_CHANGED_IBSS;
/* fall through */
case NL80211_IFTYPE_AP:
+ changed |= BSS_CHANGED_SSID;
+ /* fall through */
case NL80211_IFTYPE_MESH_POINT:
changed |= BSS_CHANGED_BEACON |
BSS_CHANGED_BEACON_ENABLED;