aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-04-07 09:44:39 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-22 08:44:18 (GMT)
commiteaa8eefed177f8301faa8281a24f4a5003318ac3 (patch)
treee26648e1cb8694dcc4973521452b192519450b71 /wpa_supplicant/config.h
parent81847c22ba756d181a990eb5f8b7dab388ba72cc (diff)
downloadhostap-eaa8eefed177f8301faa8281a24f4a5003318ac3.zip
hostap-eaa8eefed177f8301faa8281a24f4a5003318ac3.tar.gz
hostap-eaa8eefed177f8301faa8281a24f4a5003318ac3.tar.bz2
Replace MAX_SSID_LEN with SSID_MAX_LEN
This makes source code more consistent. The use within Android driver interface is left as-is to avoid changes in the old PNO interface definition. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 34b754e..16681fd 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -37,6 +37,7 @@
#include "config_ssid.h"
#include "wps/wps.h"
+#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
@@ -241,7 +242,7 @@ struct wpa_cred {
char *phase2;
struct excluded_ssid {
- u8 ssid[MAX_SSID_LEN];
+ u8 ssid[SSID_MAX_LEN];
size_t ssid_len;
} *excluded_ssid;
size_t num_excluded_ssid;