802.11: clean up/fix HT support
[deliverable/linux.git] / net / mac80211 / cfg.c
index cf3fd5d60665db502b3c70bb30ba337cbd5c7394..a5dea617aab37b80552267afc17299b172987849 100644 (file)
@@ -633,10 +633,9 @@ static void sta_apply_parameters(struct ieee80211_local *local,
                sta->sta.supp_rates[local->oper_channel->band] = rates;
        }
 
-       if (params->ht_capa) {
-               ieee80211_ht_cap_ie_to_ht_info(params->ht_capa,
-                                              &sta->sta.ht_info);
-       }
+       if (params->ht_capa)
+               ieee80211_ht_cap_ie_to_sta_ht_cap(params->ht_capa,
+                                                 &sta->sta.ht_cap);
 
        if (ieee80211_vif_is_mesh(&sdata->vif) && params->plink_action) {
                switch (params->plink_action) {
This page took 0.03026 seconds and 5 git commands to generate.