Revert "hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 1 Sep 2011 16:08:17 +0000 (16:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 1 Sep 2011 16:08:17 +0000 (16:08 +0000)
This is causing regressions for other clients

SVN-Revision: 28142

package/hostapd/patches/570-eapol_key_type.patch [deleted file]
package/hostapd/patches/770-group_key_timeout.patch

diff --git a/package/hostapd/patches/570-eapol_key_type.patch b/package/hostapd/patches/570-eapol_key_type.patch
deleted file mode 100644 (file)
index e608f10..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- 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);
index 3f0bfc33d3e5d33d40ce5d781c24e56b45d5f409..a41a89bed6de5518eeb295e93356e53f4aa824cd 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/ap/wpa_auth.c
 +++ b/src/ap/wpa_auth.c
-@@ -1290,7 +1290,7 @@ static void wpa_send_eapol(struct wpa_au
+@@ -1288,7 +1288,7 @@ static void wpa_send_eapol(struct wpa_au
                         keyidx, encr, 0);
  
        ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr;