cvs commit: src/etc network.subr src/usr.sbin/wpa/wpa_supplicant
driver_freebsd.c
Andrew Thompson
thompsa at FreeBSD.org
Sun Nov 4 22:13:08 PST 2007
thompsa 2007-11-05 06:13:07 UTC
FreeBSD src repository
Modified files:
etc network.subr
usr.sbin/wpa/wpa_supplicant driver_freebsd.c
Log:
Change wpa_supplicant to down the interface at the start of the init routine.
wpa_supplicant expects that it has exclusive access to the net80211 state so
when its starts poking in the WEP/WPA settings and the card is already
scanning it can cause net80211 to try and associate incorrectly with a
protected AP.
This is an inconvenience for firmware based cards such as iwi where it can be
sent an auth instruction with incomplete security info and cause a firmware
error.
Remove the 'ifconfig up' from network.subr since wpa_supplicant will
immediately down the interface again.
Reported by: Guy Helmer (and others)
Reviewed by: sam, brooks, avatar
MFC after: 3 days
Revision Changes Path
1.181 +0 -3 src/etc/network.subr
1.15 +12 -3 src/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
More information about the cvs-src
mailing list