diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-02 22:03:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-05-02 22:03:49 +0000 |
commit | fd61253b6603d1ac2516992e2b69ddb77d881b8b (patch) | |
tree | 733a4ef6957e578beb5339f66a96bed1118bcbaf /package/hostapd/patches/400-nl80211_sta_auth.patch | |
parent | ef710f7cf38a6520ae1012bf54e67aed04e67cbf (diff) | |
download | upstream-fd61253b6603d1ac2516992e2b69ddb77d881b8b.tar.gz upstream-fd61253b6603d1ac2516992e2b69ddb77d881b8b.tar.bz2 upstream-fd61253b6603d1ac2516992e2b69ddb77d881b8b.zip |
wpa_supplicant: fix issues with the nl80211 driver
SVN-Revision: 21320
Diffstat (limited to 'package/hostapd/patches/400-nl80211_sta_auth.patch')
-rw-r--r-- | package/hostapd/patches/400-nl80211_sta_auth.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/hostapd/patches/400-nl80211_sta_auth.patch b/package/hostapd/patches/400-nl80211_sta_auth.patch new file mode 100644 index 0000000000..8c959062dc --- /dev/null +++ b/package/hostapd/patches/400-nl80211_sta_auth.patch @@ -0,0 +1,19 @@ +--- a/wpa_supplicant/wpa_supplicant.c ++++ b/wpa_supplicant/wpa_supplicant.c +@@ -543,10 +543,16 @@ void wpa_supplicant_set_state(struct wpa + wpa_s->reassociated_connection = 1; + wpa_drv_set_operstate(wpa_s, 1); + wpa_s->after_wps = 0; ++#ifndef IEEE8021X_EAPOL ++ wpa_drv_set_supp_port(wpa_s, 1); ++#endif + } else if (state == WPA_DISCONNECTED || state == WPA_ASSOCIATING || + state == WPA_ASSOCIATED) { + wpa_s->new_connection = 1; + wpa_drv_set_operstate(wpa_s, 0); ++#ifndef IEEE8021X_EAPOL ++ wpa_drv_set_supp_port(wpa_s, 0); ++#endif + } + wpa_s->wpa_state = state; + |