aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r--net/mac80211/ibss.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index a87e309e3b99..c585fced8584 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -91,6 +91,12 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
91 if (memcmp(ifibss->bssid, bssid, ETH_ALEN)) 91 if (memcmp(ifibss->bssid, bssid, ETH_ALEN))
92 sta_info_flush(sdata->local, sdata); 92 sta_info_flush(sdata->local, sdata);
93 93
94 /* if merging, indicate to driver that we leave the old IBSS */
95 if (sdata->vif.bss_conf.ibss_joined) {
96 sdata->vif.bss_conf.ibss_joined = false;
97 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_IBSS);
98 }
99
94 memcpy(ifibss->bssid, bssid, ETH_ALEN); 100 memcpy(ifibss->bssid, bssid, ETH_ALEN);
95 101
96 sdata->drop_unencrypted = capability & WLAN_CAPABILITY_PRIVACY ? 1 : 0; 102 sdata->drop_unencrypted = capability & WLAN_CAPABILITY_PRIVACY ? 1 : 0;