]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Allow IE overriding to use maximum element length
authorJouni Malinen <quic_jouni@quicinc.com>
Fri, 23 Aug 2024 07:07:19 +0000 (10:07 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 23 Aug 2024 07:07:19 +0000 (10:07 +0300)
Elements can actually be 257 octets long (2 octets of header followed by
255 octets of payload). The maximum length for various IE override
testing parameters had somehow ended up being one octet too short to
cover the maximum. Increase this to allow the maximum element length to
be reached for testing purposes.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/wpa_auth.h

index 975e546e01662671506737d132b188b333577396..82d09f097291b86ebe46593bc7e0097cd0418927 100644 (file)
@@ -17,7 +17,7 @@
 struct vlan_description;
 struct mld_info;
 
-#define MAX_OWN_IE_OVERRIDE 256
+#define MAX_OWN_IE_OVERRIDE 257
 
 #ifdef _MSC_VER
 #pragma pack(push, 1)