Date: Thu, 8 Nov 2007 05:52:24 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc network.subr src/usr.sbin/wpa/wpa_supplicant driver_freebsd.c Message-ID: <200711080552.lA85qOqn096055@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2007-11-08 05:52:24 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
etc network.subr
usr.sbin/wpa/wpa_supplicant driver_freebsd.c
Log:
MFC network.subr r1.181, driver_freebsd.c r1.15
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.
Approved by: re (gnn)
Revision Changes Path
1.180.2.1 +0 -3 src/etc/network.subr
1.14.2.1 +12 -3 src/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711080552.lA85qOqn096055>
