Bug in driver_wext.c code?
svedurumudi at gmail.com
Thu Oct 4 06:32:43 EDT 2007
Please refer to the function wpa_driver_wext_get_scan_results() and
scroll down to
In that scroll down to:
u8 ie = gpos, ielen = gpos + 2;
Why is the 'ielen' field initialized to gpos (which is the length
field in the IE) + 2 ?
I think it should be initialized to gpos;
Please let me know what I missed? The case in question is that when I
am passing received WPA IE, I am only get and pass 'gpos' bytes
data not gpos+2 !
More information about the HostAP