Search Linux Wireless

Re: [PATCH] Fix breakage on WEP for cards that rely on software decoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux