mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 19:37:43 +02:00
hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28111 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b724d5aeef
commit
03dc915dfe
18
package/hostapd/patches/570-eapol_key_type.patch
Normal file
18
package/hostapd/patches/570-eapol_key_type.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- a/src/ap/wpa_auth.c
|
||||||
|
+++ b/src/ap/wpa_auth.c
|
||||||
|
@@ -725,6 +725,7 @@ void wpa_receive(struct wpa_authenticato
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if 0
|
||||||
|
if (sm->wpa == WPA_VERSION_WPA2) {
|
||||||
|
if (key->type != EAPOL_KEY_TYPE_RSN) {
|
||||||
|
wpa_printf(MSG_DEBUG, "Ignore EAPOL-Key with "
|
||||||
|
@@ -740,6 +741,7 @@ void wpa_receive(struct wpa_authenticato
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
wpa_hexdump(MSG_DEBUG, "WPA: Received Key Nonce", key->key_nonce,
|
||||||
|
WPA_NONCE_LEN);
|
@ -1,6 +1,6 @@
|
|||||||
--- a/src/ap/wpa_auth.c
|
--- a/src/ap/wpa_auth.c
|
||||||
+++ b/src/ap/wpa_auth.c
|
+++ b/src/ap/wpa_auth.c
|
||||||
@@ -1288,7 +1288,7 @@ static void wpa_send_eapol(struct wpa_au
|
@@ -1290,7 +1290,7 @@ static void wpa_send_eapol(struct wpa_au
|
||||||
keyidx, encr, 0);
|
keyidx, encr, 0);
|
||||||
|
|
||||||
ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr;
|
ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr;
|
||||||
|
Loading…
Reference in New Issue
Block a user