summaryrefslogtreecommitdiff
path: root/net/mac80211/rate.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-18 19:16:12 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2013-02-18 19:16:12 (GMT)
commite9b89fcc1f42fa6d19ecaae8cd8d86e49fa4cd38 (patch)
treed77b0c7f1f8890fb75098c550277fe9b81c340b3 /net/mac80211/rate.h
parent36eed56a8f7e1bd7fb5014ea0e702708e1702f30 (diff)
parent9e97d14b4923da524d202f2e005d5d30b70db9d6 (diff)
downloadlinux-fsl-qoriq-e9b89fcc1f42fa6d19ecaae8cd8d86e49fa4cd38.tar.xz
Merge remote-tracking branch 'wireless-next/master' into iwlwifi-next
Diffstat (limited to 'net/mac80211/rate.h')
-rw-r--r--net/mac80211/rate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h
index 301386d..d35a5dd 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)
sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
rcu_read_unlock();
+ ieee80211_sta_set_rx_nss(sta);
+
ref->ops->rate_init(ref->priv, sband, ista, priv_sta);
set_sta_flag(sta, WLAN_STA_RATE_CONTROL);
}