From: Johannes Berg When an HT channel width update comes in, don't use the capability of the station, but rather set it to max as the capability will be taken into account anyway when using the value. Signed-off-by: Johannes Berg --- net/mac80211/ht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index 27b5578601ff..d951a4302e9a 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c @@ -618,7 +618,7 @@ void ieee80211_ht_handle_chanwidth_notif(struct ieee80211_local *local, if (chanwidth == IEEE80211_HT_CHANWIDTH_20MHZ) max_bw = IEEE80211_STA_RX_BW_20; else - max_bw = ieee80211_sta_cap_rx_bw(link_sta); + max_bw = IEEE80211_STA_RX_BW_MAX; /* set cur_max_bandwidth and recalc sta bw */ link_sta->cur_max_bandwidth = max_bw; -- 2.53.0