projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
697d3e7
)
hostapd: fix wpa_supplicant standalone compile
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Oct 2010 21:31:05 +0000
(21:31 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Oct 2010 21:31:05 +0000
(21:31 +0000)
SVN-Revision: 23625
package/hostapd/patches/453-ap_sta_support.patch
patch
|
blob
|
history
diff --git
a/package/hostapd/patches/453-ap_sta_support.patch
b/package/hostapd/patches/453-ap_sta_support.patch
index 99c4b0e4f7adbbba2e6548f6c81796bbe86ce636..68f0e44e71aea8859983bf0f83146e42709f11b0 100644
(file)
--- 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)
{
/* 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,1
4
@@ void wpa_supplicant_set_state(struct wpa
+@@ -548,8 +597,1
6
@@ void wpa_supplicant_set_state(struct wpa
#ifndef IEEE8021X_EAPOL
wpa_drv_set_supp_port(wpa_s, 1);
#endif
#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) {
+#endif
} else if (state == WPA_DISCONNECTED || state == WPA_ASSOCIATING ||
state == WPA_ASSOCIATED) {
++#ifdef MULTICALL
+ if (wpa_s->hostapd)
+ hostapd_stop(wpa_s);
+ if (wpa_s->hostapd)
+ hostapd_stop(wpa_s);
++#endif
wpa_s->new_connection = 1;
wpa_drv_set_operstate(wpa_s, 0);
#ifndef IEEE8021X_EAPOL
wpa_s->new_connection = 1;
wpa_drv_set_operstate(wpa_s, 0);
#ifndef IEEE8021X_EAPOL
-@@ -1957,6 +201
2
,21 @@ static int wpa_supplicant_init_iface(str
+@@ -1957,6 +201
4
,21 @@ static int wpa_supplicant_init_iface(str
os_strlcpy(wpa_s->bridge_ifname, iface->bridge_ifname,
sizeof(wpa_s->bridge_ifname));
}
os_strlcpy(wpa_s->bridge_ifname, iface->bridge_ifname,
sizeof(wpa_s->bridge_ifname));
}