aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-r3776/122-replayfail_workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches-r3776/122-replayfail_workaround.patch')
-rw-r--r--package/madwifi/patches-r3776/122-replayfail_workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/madwifi/patches-r3776/122-replayfail_workaround.patch b/package/madwifi/patches-r3776/122-replayfail_workaround.patch
new file mode 100644
index 0000000000..c016e723b3
--- /dev/null
+++ b/package/madwifi/patches-r3776/122-replayfail_workaround.patch
@@ -0,0 +1,14 @@
+Index: madwifi-trunk-r3776/net80211/ieee80211_linux.c
+===================================================================
+--- madwifi-trunk-r3776.orig/net80211/ieee80211_linux.c 2008-07-17 00:21:29.000000000 +0200
++++ madwifi-trunk-r3776/net80211/ieee80211_linux.c 2008-07-17 00:49:54.000000000 +0200
+@@ -330,6 +330,9 @@
+ k->wk_cipher->ic_name, k->wk_keyix,
+ (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=" MAC_FMT ")", tag,
+ k->wk_keyix,