essid_len in SIOCSIWESSID

Pedro Ramalhais ramalhais
Sun Aug 29 08:44:48 PDT 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