mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 19 Feb 2010 01:07:21 +0000 (01:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 19 Feb 2010 01:07:21 +0000 (01:07 +0000)
commit56aafc570a81af49acc24ceada7165f47b351d79
tree95bdb592937c5abbfb89131f331be9a1ffea1ebb
parent7c5bc2cf72c351f7fd52518edd2d4253869eb488
mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)

Since client mode in mac80211is unreliable without using wpa_supplicant,
it would be better to enable wpa_supplicant by default.

With this patch, wpa_supplicant will always be used for mac80211-based
drivers in client mode. This will break client mode for images that
don't include wpa_supplicant or wpad, so maybe I need to add a check
somewhere to see if wpa_supplicant is available, and show the user a
warning if he tries client mode without wpa_supplicant. Suggestions on
where to add this check are welcome.

Tested with ath5k in client mode on open and wpa2-psk network, and
tested on my ath9k based AP as well to make sure it doesn't break AP mode.

SVN-Revision: 19718
package/hostapd/files/wpa_supplicant.sh
package/mac80211/files/lib/wifi/mac80211.sh