summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/570-eapol_key_type.patch
blob: e608f109292051c0dee1981f8908d9a305372a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);