madwifi: add patch to allow ignoring probe requests (useful for ad-hoc mesh)
[openwrt.git] / package / madwifi / patches / 122-replayfail_workaround.patch
index 638d04c..c4eb28c 100644 (file)
@@ -1,14 +1,12 @@
-Index: madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c
-===================================================================
---- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_linux.c  2007-10-31 14:04:46.593276677 +0100
-+++ madwifi-ng-r2799-20071030/net80211/ieee80211_linux.c       2007-10-31 14:04:49.705454030 +0100
-@@ -333,6 +333,9 @@
+--- a/net80211/ieee80211_linux.c
++++ b/net80211/ieee80211_linux.c
+@@ -331,6 +331,9 @@ ieee80211_notify_replay_failure(struct i
                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,
This page took 0.025805 seconds and 4 git commands to generate.