essid_len in SIOCSIWESSID

Pedro Ramalhais ramalhais at serrado.net
Sun Aug 29 11:44:48 EDT 2004


Hi Jouni and Jean!
I've noticed that wpa_suplpicant is causing the essid to be set
incorrectly. wpa_supplicant is setting

iwr.u.essid.length = ssid_len

but wireless tools is setting

wrq.u.essid.length = strlen(essid) + 1

in SIOCSIWESSID.

So, which one is correct?
Thanks!
-- 
Pedro Ramalhais <ramalhais at serrado.net>




More information about the HostAP mailing list