commit 8463b61ab61c19e31a82ff8e015c954537a62bd2 Author: Jiri Slaby Date: Tue Jul 24 08:49:28 2007 +0200 don't process packets with bad crc diff --git a/ath.c b/ath.c index e6eb3ec..d2c9214 100644 --- a/ath.c +++ b/ath.c @@ -387,7 +387,8 @@ static void ath_tasklet_rx(unsigned long data) * XXX do key cache faulting */ if (ds->ds_rxstat.rs_keyix == - AR5K_RXKEYIX_INVALID) + AR5K_RXKEYIX_INVALID && + !(stat & AR5K_RXERR_CRC)) goto accept; sc->stats.ast_rx_badcrypt++; }