aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-24 21:31:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-24 21:31:05 +0000
commitd80884021d3787fd2a4b55fb49372a829e9aab13 (patch)
tree0bcae1ed53dc3c97f94a69172386543f84ddc379 /package/hostapd
parent697d3e7066c8d2dcd3ba1e34a9657ab08b3977e0 (diff)
downloadupstream-d80884021d3787fd2a4b55fb49372a829e9aab13.tar.gz
upstream-d80884021d3787fd2a4b55fb49372a829e9aab13.tar.bz2
upstream-d80884021d3787fd2a4b55fb49372a829e9aab13.zip
hostapd: fix wpa_supplicant standalone compile
SVN-Revision: 23625
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/patches/453-ap_sta_support.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/hostapd/patches/453-ap_sta_support.patch b/package/hostapd/patches/453-ap_sta_support.patch
index 99c4b0e4f7..68f0e44e71 100644
--- a/package/hostapd/patches/453-ap_sta_support.patch
+++ b/package/hostapd/patches/453-ap_sta_support.patch
@@ -90,7 +90,7 @@
/* Configure default/group WEP keys for static WEP */
int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
{
-@@ -548,8 +597,14 @@ void wpa_supplicant_set_state(struct wpa
+@@ -548,8 +597,16 @@ void wpa_supplicant_set_state(struct wpa
#ifndef IEEE8021X_EAPOL
wpa_drv_set_supp_port(wpa_s, 1);
#endif
@@ -100,12 +100,14 @@
+#endif
} else if (state == WPA_DISCONNECTED || state == WPA_ASSOCIATING ||
state == WPA_ASSOCIATED) {
++#ifdef MULTICALL
+ if (wpa_s->hostapd)
+ hostapd_stop(wpa_s);
++#endif
wpa_s->new_connection = 1;
wpa_drv_set_operstate(wpa_s, 0);
#ifndef IEEE8021X_EAPOL
-@@ -1957,6 +2012,21 @@ static int wpa_supplicant_init_iface(str
+@@ -1957,6 +2014,21 @@ static int wpa_supplicant_init_iface(str
os_strlcpy(wpa_s->bridge_ifname, iface->bridge_ifname,
sizeof(wpa_s->bridge_ifname));
}