Search Linux Wireless

Re: adm8211 crypto bug?

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

 



On Tuesday 25 March 2008 09:42:38 Johannes Berg wrote:
> static int adm8211_tx(struct ieee80211_hw *dev, struct sk_buff *skb,
>                       struct ieee80211_tx_control *control)
>
> [...]
>         fc = le16_to_cpu(hdr->frame_control) & ~IEEE80211_FCTL_PROTECTED;
> [...]
>         len = hdrlen + payload_len + FCS_LEN;
>         if (fc & IEEE80211_FCTL_PROTECTED)
>                 len += 8;
> [...]
>
Nope. It's just a cheap hack to disable hw crypto support. I was planning to 
add hw crypto support back at some point so I just added the |& 
~IEEE80211_FCTL_PROTECTED| part to disable it without removing the code.

-Michael Wu

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