On Tue, 2007-08-28 at 23:45 +0100, Adam Baker wrote: > The test to drop out of ieee80211_rx_h_load_key if we don't know the IV should > check if the packet has already been decrypted, otherwise we need to load > the key to be able to decrypt it > - if (!(rx->local->hw.flags & IEEE80211_HW_WEP_INCLUDE_IV)) > + if ((rx->u.rx.status->flag & RX_FLAG_DECRYPTED) && > + (!(rx->local->hw.flags & IEEE80211_HW_WEP_INCLUDE_IV))) > return TXRX_CONTINUE; Huh, yes, this patch is correct, I just never noticed because my later patch changes it again when introducing the per-frame INCLUDE_IV flag. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part