diff options
Diffstat (limited to 'net/mac80211/rate.h')
-rw-r--r-- | net/mac80211/rate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index 301386dabf88..d35a5dd3fb13 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h | |||
@@ -68,6 +68,8 @@ static inline void rate_control_rate_init(struct sta_info *sta) | |||
68 | sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; | 68 | sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; |
69 | rcu_read_unlock(); | 69 | rcu_read_unlock(); |
70 | 70 | ||
71 | ieee80211_sta_set_rx_nss(sta); | ||
72 | |||
71 | ref->ops->rate_init(ref->priv, sband, ista, priv_sta); | 73 | ref->ops->rate_init(ref->priv, sband, ista, priv_sta); |
72 | set_sta_flag(sta, WLAN_STA_RATE_CONTROL); | 74 | set_sta_flag(sta, WLAN_STA_RATE_CONTROL); |
73 | } | 75 | } |