[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-wireless
Subject: Re: adm8211 crypto bug?
From: Michael Wu <flamingice () sourmilk ! net>
Date: 2008-03-31 18:43:51
Message-ID: 200803311443.51453.flamingice () sourmilk ! net
[Download RAW message or body]
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
["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic