aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 6c655b6547fb..6614d4ff273d 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -522,6 +522,16 @@ static int ieee80211_stop(struct net_device *dev)
522 ieee80211_scan_completed(&local->hw, true); 522 ieee80211_scan_completed(&local->hw, true);
523 } 523 }
524 524
525 /*
526 * Disable beaconing for AP and mesh, IBSS can't
527 * still be joined to a network at this point.
528 */
529 if (sdata->vif.type == NL80211_IFTYPE_AP ||
530 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) {
531 ieee80211_bss_info_change_notify(sdata,
532 BSS_CHANGED_BEACON_ENABLED);
533 }
534
525 conf.vif = &sdata->vif; 535 conf.vif = &sdata->vif;
526 conf.type = sdata->vif.type; 536 conf.type = sdata->vif.type;
527 conf.mac_addr = dev->dev_addr; 537 conf.mac_addr = dev->dev_addr;