madwifi: preserve WPA IEs received in probe responses and prefer them over beacon...
[openwrt.git] / package / madwifi / patches / 122-replayfail_workaround.patch
index 32da78fc2acc415d4f53167e8d9b3fe55bafad54..3ed352076ad3b73c3acdb22669304c399c5f4df1 100644 (file)
@@ -1,14 +1,12 @@
-Index: madwifi-ng-r2568-20070710/net80211/ieee80211_linux.c
-===================================================================
---- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_linux.c  2007-10-20 20:51:37.000000000 +0200
-+++ madwifi-ng-r2568-20070710/net80211/ieee80211_linux.c       2007-10-20 20:52:34.000000000 +0200
-@@ -285,6 +285,9 @@
+--- a/net80211/ieee80211_linux.c
++++ b/net80211/ieee80211_linux.c
+@@ -331,6 +331,9 @@
                k->wk_cipher->ic_name, k->wk_keyix,
-               (unsigned long long)rsc );
+               (unsigned long long)rsc);
  
 +      /* disabled for now due to bogus events for unknown reasons */
 +      return;
 +
        /* TODO: needed parameters: count, keyid, key type, src address, TSC */
-       snprintf(buf, sizeof(buf), "%s(keyid=%d %scast addr=%s)", tag,
+       snprintf(buf, sizeof(buf), "%s(keyid=%d %scast addr=" MAC_FMT ")", tag,
                k->wk_keyix,