diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-12-11 13:49:16 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-12-11 13:49:16 +0100 |
commit | 7e5830edfb38dcbb1834b0e44604636ad48d13c5 (patch) | |
tree | 5a2275a91b8275612b9a685798c9a41d667190f9 | |
parent | 6e89b89e95bbb140bbff5ab72b8c9632727bf6a6 (diff) |
nl80211: fix datatype of NL80211_BAND_IFTYPE_ATTR_HE_CAP_{MAC,PHY} attrs
The attributes are arrays of 6 and 11 u8 values respectively.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | lib/nl80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nl80211.c b/lib/nl80211.c index 6455ec0..c4ea3fa 100644 --- a/lib/nl80211.c +++ b/lib/nl80211.c @@ -563,8 +563,8 @@ static const uc_nl_nested_spec_t nl80211_wiphy_bands_iftype_data_nla = { .nattrs = 7, .attrs = { { NL80211_BAND_IFTYPE_ATTR_IFTYPES, "iftypes", DT_NESTED, 0, &nl80211_ifcomb_limit_types_nla }, - { NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC, "he_cap_mac", DT_U16, DF_ARRAY, NULL }, - { NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY, "he_cap_phy", DT_U16, DF_ARRAY, NULL }, + { NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC, "he_cap_mac", DT_U8, DF_ARRAY, NULL }, + { NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY, "he_cap_phy", DT_U8, DF_ARRAY, NULL }, { NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET, "he_cap_mcs_set", DT_HE_MCS, 0, NULL }, { NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE, "he_cap_ppe", DT_U8, DF_ARRAY, NULL }, { NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA, "he_6ghz_capa", DT_U16, 0, NULL }, |