fix a small race condition in the madwifi queue handling
[openwrt.git] / package / madwifi / patches / 122-replayfail_workaround.patch
1 Index: madwifi-dfs-r3053/net80211/ieee80211_linux.c
2 ===================================================================
3 --- madwifi-dfs-r3053.orig/net80211/ieee80211_linux.c   2007-12-13 05:25:10.626231021 +0100
4 +++ madwifi-dfs-r3053/net80211/ieee80211_linux.c        2007-12-13 05:25:12.422333377 +0100
5 @@ -331,6 +331,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,