]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/mac80211/mlme.c
mac80211: pass station to ieee80211_vht_cap_ie_to_sta_vht_cap
[mirror_ubuntu-bionic-kernel.git] / net / mac80211 / mlme.c
index ac1374a8c30a66934598f67d2852819ee12cca0f..58b6e67ffbed27a69fed455b44fa7fc7663def8c 100644 (file)
@@ -2217,8 +2217,7 @@ static bool ieee80211_assoc_success(struct ieee80211_sub_if_data *sdata,
 
        if (elems.vht_cap_elem && !(ifmgd->flags & IEEE80211_STA_DISABLE_VHT))
                ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
-                                                   elems.vht_cap_elem,
-                                                   &sta->sta.vht_cap);
+                                                   elems.vht_cap_elem, sta);
 
        rate_control_rate_init(sta);