diff options
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); |