diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-12-29 05:01:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:08:48 -0500 |
commit | d9e94d5647ee6700773d81514a8ccb7dc6342fb4 (patch) | |
tree | 826132c6f2da28b253d9f94c3da8075bffa19640 /net/ieee80211/ieee80211_rx.c | |
parent | c414e84b2200ca8a7e7ae565cad200e5c02e02ec (diff) |
ieee80211: fix misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/ieee80211_rx.c')
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index 0a18edbdfcb5..6a9c07f9b10f 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -754,7 +754,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | |||
754 | memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); | 754 | memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); |
755 | memcpy(skb_push(skb, ETH_ALEN), dst, ETH_ALEN); | 755 | memcpy(skb_push(skb, ETH_ALEN), dst, ETH_ALEN); |
756 | } else { | 756 | } else { |
757 | u16 len; | 757 | __be16 len; |
758 | /* Leave Ethernet header part of hdr and full payload */ | 758 | /* Leave Ethernet header part of hdr and full payload */ |
759 | skb_pull(skb, hdrlen); | 759 | skb_pull(skb, hdrlen); |
760 | len = htons(skb->len); | 760 | len = htons(skb->len); |