diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-11-24 15:06:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:05:00 -0800 |
commit | d8be11ee95be9ec9eabfec9f635e0feac972369b (patch) | |
tree | 5534ec175baa099abef639e1df980203b949f1a1 /drivers/net/wireless/b43/xmit.c | |
parent | d42ce84a05d7a427df22894de268c1b4473f6004 (diff) | |
download | blackbird-op-linux-d8be11ee95be9ec9eabfec9f635e0feac972369b.tar.gz blackbird-op-linux-d8be11ee95be9ec9eabfec9f635e0feac972369b.zip |
b43: include FCS in frames handed to mac80211
Sometimes it can be useful to see the FCS, especially when
bad-FCS frames are shown. Pass the FCS to mac80211 and let
it worry about snipping it off when required.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.c')
-rw-r--r-- | drivers/net/wireless/b43/xmit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c index 557abe1f1a05..a455a6beac4a 100644 --- a/drivers/net/wireless/b43/xmit.c +++ b/drivers/net/wireless/b43/xmit.c @@ -489,7 +489,6 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr) } wlhdr = (struct ieee80211_hdr *)(skb->data); fctl = le16_to_cpu(wlhdr->frame_control); - skb_trim(skb, skb->len - FCS_LEN); if (macstat & B43_RX_MAC_DEC) { unsigned int keyidx; |