diff options
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index cf3fd5d60665..a5dea617aab3 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -633,10 +633,9 @@ static void sta_apply_parameters(struct ieee80211_local *local, | |||
633 | sta->sta.supp_rates[local->oper_channel->band] = rates; | 633 | sta->sta.supp_rates[local->oper_channel->band] = rates; |
634 | } | 634 | } |
635 | 635 | ||
636 | if (params->ht_capa) { | 636 | if (params->ht_capa) |
637 | ieee80211_ht_cap_ie_to_ht_info(params->ht_capa, | 637 | ieee80211_ht_cap_ie_to_sta_ht_cap(params->ht_capa, |
638 | &sta->sta.ht_info); | 638 | &sta->sta.ht_cap); |
639 | } | ||
640 | 639 | ||
641 | if (ieee80211_vif_is_mesh(&sdata->vif) && params->plink_action) { | 640 | if (ieee80211_vif_is_mesh(&sdata->vif) && params->plink_action) { |
642 | switch (params->plink_action) { | 641 | switch (params->plink_action) { |