|
@@ -1210,7 +1210,9 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
|
switch (sdata->vif.type) {
|
|
switch (sdata->vif.type) {
|
|
case NL80211_IFTYPE_STATION:
|
|
case NL80211_IFTYPE_STATION:
|
|
changed |= BSS_CHANGED_ASSOC;
|
|
changed |= BSS_CHANGED_ASSOC;
|
|
|
|
+ mutex_lock(&sdata->u.mgd.mtx);
|
|
ieee80211_bss_info_change_notify(sdata, changed);
|
|
ieee80211_bss_info_change_notify(sdata, changed);
|
|
|
|
+ mutex_unlock(&sdata->u.mgd.mtx);
|
|
break;
|
|
break;
|
|
case NL80211_IFTYPE_ADHOC:
|
|
case NL80211_IFTYPE_ADHOC:
|
|
changed |= BSS_CHANGED_IBSS;
|
|
changed |= BSS_CHANGED_IBSS;
|