mac80211: Support ht-cap over-rides.
[profile/ivi/kernel-adaptation-intel-automotive.git] / net / mac80211 / cfg.c
index 1063a7e..2577c45 100644 (file)
@@ -832,7 +832,7 @@ static void sta_apply_parameters(struct ieee80211_local *local,
        }
 
        if (params->ht_capa)
-               ieee80211_ht_cap_ie_to_sta_ht_cap(sband,
+               ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
                                                  params->ht_capa,
                                                  &sta->sta.ht_cap);