diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 26fd5d29af7f..556647a910ac 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1204,7 +1204,9 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1204 | switch (sdata->vif.type) { | 1204 | switch (sdata->vif.type) { |
1205 | case NL80211_IFTYPE_STATION: | 1205 | case NL80211_IFTYPE_STATION: |
1206 | changed |= BSS_CHANGED_ASSOC; | 1206 | changed |= BSS_CHANGED_ASSOC; |
1207 | mutex_lock(&sdata->u.mgd.mtx); | ||
1207 | ieee80211_bss_info_change_notify(sdata, changed); | 1208 | ieee80211_bss_info_change_notify(sdata, changed); |
1209 | mutex_unlock(&sdata->u.mgd.mtx); | ||
1208 | break; | 1210 | break; |
1209 | case NL80211_IFTYPE_ADHOC: | 1211 | case NL80211_IFTYPE_ADHOC: |
1210 | changed |= BSS_CHANGED_IBSS; | 1212 | changed |= BSS_CHANGED_IBSS; |