X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1f9285016a01f115851b9b7f9adb39be52f2b0fa..fb9f9cdc813406041715d4c692f2b18cfd418cee:/package/madwifi/patches/122-replayfail_workaround.patch?ds=sidebyside diff --git a/package/madwifi/patches/122-replayfail_workaround.patch b/package/madwifi/patches/122-replayfail_workaround.patch index c7cfc0186..c4eb28c94 100644 --- a/package/madwifi/patches/122-replayfail_workaround.patch +++ b/package/madwifi/patches/122-replayfail_workaround.patch @@ -1,14 +1,12 @@ -Index: madwifi-ng-r2525-20070630/net80211/ieee80211_linux.c -=================================================================== ---- madwifi-ng-r2525-20070630.orig/net80211/ieee80211_linux.c 2007-07-03 23:02:25.321626250 +0200 -+++ madwifi-ng-r2525-20070630/net80211/ieee80211_linux.c 2007-07-03 23:02:31.362003750 +0200 -@@ -285,6 +285,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,