aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_80211_rx.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-12-21 03:30:16 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:05 -0500
commit8a9faf3cd08b91aca1502dbe18e3b5063fda2e87 (patch)
tree4588f25ca8cd11833252370c3b0c7566004de050 /drivers/net/wireless/hostap/hostap_80211_rx.c
parent3eb9b41f2474c53fe469fbe383955d5aae9e76e4 (diff)
hostap annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_80211_rx.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_80211_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_80211_rx.c b/drivers/net/wireless/hostap/hostap_80211_rx.c
index ef084df3d48e..49978bdb4324 100644
--- a/drivers/net/wireless/hostap/hostap_80211_rx.c
+++ b/drivers/net/wireless/hostap/hostap_80211_rx.c
@@ -1039,7 +1039,7 @@ void hostap_80211_rx(struct net_device *dev, struct sk_buff *skb,
1039 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); 1039 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN);
1040 memcpy(skb_push(skb, ETH_ALEN), dst, ETH_ALEN); 1040 memcpy(skb_push(skb, ETH_ALEN), dst, ETH_ALEN);
1041 } else { 1041 } else {
1042 u16 len; 1042 __be16 len;
1043 /* Leave Ethernet header part of hdr and full payload */ 1043 /* Leave Ethernet header part of hdr and full payload */
1044 skb_pull(skb, hdrlen); 1044 skb_pull(skb, hdrlen);
1045 len = htons(skb->len); 1045 len = htons(skb->len);