aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-07 13:07:25 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-07 13:07:25 (GMT)
commit986de33d5c3e11dd08a26ed65eacede8b75aa339 (patch)
treea4cf15f08916a4ac42216e2f1c080fc784a27cc5 /wpa_supplicant/ap.c
parent771e2f7b3302f7741594f9c669a225f5aa64f9e9 (diff)
downloadhostap-986de33d5c3e11dd08a26ed65eacede8b75aa339.zip
hostap-986de33d5c3e11dd08a26ed65eacede8b75aa339.tar.gz
hostap-986de33d5c3e11dd08a26ed65eacede8b75aa339.tar.bz2
Convert remaining SSID routines from char* to u8*
This makes it more explicit that the SSID is not a null terminated C string. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index f9e0045..80c1783 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -150,7 +150,6 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
return -1;
}
os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len);
- bss->ssid.ssid[ssid->ssid_len] = '\0';
bss->ssid.ssid_len = ssid->ssid_len;
bss->ssid.ssid_set = 1;