Andrew Thompson 5090437236 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
2007-11-05 06:13:07 +00:00
..
2007-10-15 20:00:24 +00:00
2005-06-07 03:41:20 +00:00
2007-10-03 05:51:20 +00:00
2007-05-14 17:34:59 +00:00
2005-06-14 02:25:17 +00:00
2006-11-06 01:42:11 +00:00
2005-06-07 03:41:20 +00:00
2006-10-23 05:09:44 +00:00
2006-08-31 21:13:12 +00:00
rpc