From: Jouni Malinen Date: Fri, 23 Aug 2024 07:07:19 +0000 (+0300) Subject: Allow IE overriding to use maximum element length X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c03edfd5bd47690dfcc1da850f8ea83c7bbe0b7f;p=thirdparty%2Fhostap.git Allow IE overriding to use maximum element length 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 --- diff --git a/src/ap/wpa_auth.h b/src/ap/wpa_auth.h index 975e546e0..82d09f097 100644 --- a/src/ap/wpa_auth.h +++ b/src/ap/wpa_auth.h @@ -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)