hostapd(cvs) & madwifi(cvs) - PATCH attached
Sun Dec 5 20:22:46 PST 2004
On Tue, Nov 30, 2004 at 09:33:31AM +0000, st3v3 at btinternet.com wrote:
> Further to my posting the problem of 802.1x authentication without WPA.
> See thread "hostapd(cvs) & madwifi(cvs)"
> Find attached a patch that allows for this particular configuration.
> The driver_madwifi.c assumes that with 802.1x WPA must be used IMHO this is incorrect, as 802.1x may be used without WPA. i.e 802.1x with WEP
> The error "No WPA/RSN information available for station" is seen if
> wpa=0 or not set in the hostapd.conf file.
> Could a developer please review this patch and add it to the CVS repository.
Thanks! I changed driver_madwifi.c to do what your patch did, but
cleaned up the code a bit by adding a new function and making sure there
are no memory leaks in case the STA entry was there already with WPA IE.
I did not merge changes to sta_info.c (free() can be called with NULL
argument) and wpa.c (extra verification not needed, sm==NULL if WPA is
disabled). The end result seemed to work in both WPA-PSK and non-WPA
IEEE 802.1X modes.
Jouni Malinen PGP id EFC895FA
More information about the Hostap