Message ID | 1425193815-17785-13-git-send-email-emmanuel.grumbach@intel.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Johannes Berg |
Headers | show |
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 02f1125..bc33911 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1126,6 +1126,10 @@ static int sta_apply_parameters(struct ieee80211_local *local, ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband, params->vht_capa, sta); + if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) && + (params->ht_capa || params->vht_capa)) + ieee80211_sta_set_rx_nss(sta); + if (params->opmode_notif_used) { /* returned value is only needed for rc update, but the * rc isn't initialized here yet, so ignore it