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.