HE: Fix HE Capabilities element size
Set the max value of optional bytes inside the data structure. This requires us to calculate the actually used size when copying the HE capabilities and generating the IE. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sven Eckelmann <seckelmann@datto.com>
This commit is contained in:
parent
a2e0cc9e09
commit
0497e41481
2 changed files with 38 additions and 2 deletions
|
@ -2109,7 +2109,7 @@ struct ieee80211_he_capabilities {
|
|||
u8 he_phy_capab_info[11];
|
||||
/* Followed by 4, 8, or 12 octets of Supported HE-MCS And NSS Set field
|
||||
* and optional variable length PPE Thresholds field. */
|
||||
u8 optional[];
|
||||
u8 optional[37];
|
||||
} STRUCT_PACKED;
|
||||
|
||||
struct ieee80211_he_operation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue