aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
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/events.c
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/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index a81cead..d086624 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -158,7 +158,7 @@ static void wpa_supplicant_update_current_bss(struct wpa_supplicant *wpa_s)
static int wpa_supplicant_select_config(struct wpa_supplicant *wpa_s)
{
struct wpa_ssid *ssid, *old_ssid;
- u8 drv_ssid[MAX_SSID_LEN];
+ u8 drv_ssid[SSID_MAX_LEN];
size_t drv_ssid_len;
int res;