rtl8188eu: Fix struct rtw_ieee80211_ht_cap

To work with hostapd, the length of rtw_ieee80211_ht_cap must match
that of the kernel's ieee80211_ht_cap. Two errors were found.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-04-07 10:15:52 -05:00
parent be58a411b0
commit 496a632c98

View file

@ -616,11 +616,14 @@ struct rtw_ieee80211_bar {
struct rtw_ieee80211_ht_cap { struct rtw_ieee80211_ht_cap {
__le16 cap_info; __le16 cap_info;
u8 ampdu_params_info; u8 ampdu_params_info;
union {
u8 supp_mcs_set[16]; u8 supp_mcs_set[16];
struct ieee80211_mcs_info mcs;
};
__le16 extended_ht_cap_info; __le16 extended_ht_cap_info;
__le16 tx_BF_cap_info; __le32 tx_BF_cap_info;
u8 antenna_selection_info; u8 antenna_selection_info;
} __attribute__ ((packed)); } __packed;
/** /**
* struct rtw_ieee80211_ht_cap - HT additional information * struct rtw_ieee80211_ht_cap - HT additional information