fix a crash related to wep and mic handling (#1973)
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 122-replayfail_workaround.patch
1 Index: madwifi-ng-r2420-20070602/net80211/ieee80211_linux.c
2 ===================================================================
3 --- madwifi-ng-r2420-20070602.orig/net80211/ieee80211_linux.c 2007-06-04 13:21:53.255880544 +0200
4 +++ madwifi-ng-r2420-20070602/net80211/ieee80211_linux.c 2007-06-04 13:21:57.745198064 +0200
5 @@ -285,6 +285,9 @@
6 k->wk_cipher->ic_name, k->wk_keyix,
7 (unsigned long long)rsc );
8
9 + /* disabled for now due to bogus events for unknown reasons */
10 + return;
11 +
12 /* TODO: needed parameters: count, keyid, key type, src address, TSC */
13 snprintf(buf, sizeof(buf), "%s(keyid=%d %scast addr=%s)", tag,
14 k->wk_keyix,