essid_len in SIOCSIWESSID

Pedro Ramalhais ramalhais at
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


So, which one is correct?
Pedro Ramalhais <ramalhais at>

More information about the HostAP mailing list