summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/570-eapol_key_type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/patches/570-eapol_key_type.patch')
-rw-r--r--package/hostapd/patches/570-eapol_key_type.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/hostapd/patches/570-eapol_key_type.patch b/package/hostapd/patches/570-eapol_key_type.patch
new file mode 100644
index 000000000..e608f1092
--- /dev/null
+++ b/package/hostapd/patches/570-eapol_key_type.patch
@@ -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);