Fixed TKIP replay protection for the case where hwaccel is enabled. rx_initialized flag was not set in this case and the TSC validation was skipped for the frames.
Signed-off-by: Jouni Malinen <[EMAIL PROTECTED]> Index: wireless-dev/net/d80211/tkip.c =================================================================== --- wireless-dev.orig/net/d80211/tkip.c +++ wireless-dev/net/d80211/tkip.c @@ -286,6 +286,7 @@ int ieee80211_tkip_decrypt_data(struct c if (only_iv) { res = TKIP_DECRYPT_OK; + key->u.tkip.rx_initialized[queue] = 1; goto done; } -- -- Jouni Malinen PGP id EFC895FA - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html