diff --git a/sdk/include/psdk/windot11.h b/sdk/include/psdk/windot11.h index f509e650f56..5e9a9b61f2d 100644 --- a/sdk/include/psdk/windot11.h +++ b/sdk/include/psdk/windot11.h @@ -64,7 +64,7 @@ typedef DOT11_MAC_ADDRESS* PDOT11_MAC_ADDRESS; typedef struct _DOT11_SSID { ULONG uSSIDLength; - UCHAR ucSSID[32]; + UCHAR ucSSID[DOT11_SSID_MAX_LENGTH]; } DOT11_SSID, *PDOT11_SSID; typedef struct _DOT11_BSSID_LIST { diff --git a/sdk/include/psdk/wlantypes.h b/sdk/include/psdk/wlantypes.h index 310d6ff55ad..96d1e00dc1d 100644 --- a/sdk/include/psdk/wlantypes.h +++ b/sdk/include/psdk/wlantypes.h @@ -7,6 +7,7 @@ typedef enum _DOT11_BSS_TYPE { dot11_BSS_type_any } DOT11_BSS_TYPE; +#define DOT11_SSID_MAX_LENGTH 32 #endif