1 --- a/net/mac80211/main.c
2 +++ b/net/mac80211/main.c
3 @@ -239,7 +239,9 @@ void ieee80211_bss_info_change_notify(st
6 struct ieee80211_local *local = sdata->local;
7 + struct ieee80211_supported_band *sband;
8 static const u8 zero[ETH_ALEN] = { 0 };
9 + struct sta_info *sta;
13 @@ -269,6 +271,22 @@ void ieee80211_bss_info_change_notify(st
15 switch (sdata->vif.type) {
16 case NL80211_IFTYPE_AP:
17 + if (!(changed & BSS_CHANGED_HT))
20 + sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
22 + list_for_each_entry(sta, &local->sta_list, list) {
23 + if (sta->sdata != sdata &&
24 + (!sdata->bss || sta->sdata->bss != sdata->bss))
27 + rate_control_rate_update(local, sband, sta,
28 + IEEE80211_RC_HT_CHANGED,
29 + local->_oper_channel_type);
33 case NL80211_IFTYPE_ADHOC:
34 case NL80211_IFTYPE_WDS:
35 case NL80211_IFTYPE_MESH_POINT: