summaryrefslogtreecommitdiffstats
path: root/drivers/net/atlx
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-05-21 07:32:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-22 01:55:59 +0200
commit4ec7ffa2df247054d422b48148ad82369a45e986 (patch)
treebb309f0ef31ee8f1399dec86f3e03b34f8c72714 /drivers/net/atlx
parentthanks to net/mac80211 we need to pull drivers/leds/Kconfig on uml (diff)
downloadlinux-4ec7ffa2df247054d422b48148ad82369a45e986.tar.xz
linux-4ec7ffa2df247054d422b48148ad82369a45e986.zip
misc drivers/net endianness noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r--drivers/net/atlx/atl1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
index 9c2394d49428..6e4c80d41b08 100644
--- a/drivers/net/atlx/atl1.c
+++ b/drivers/net/atlx/atl1.c
@@ -2135,7 +2135,7 @@ static int atl1_tso(struct atl1_adapter *adapter, struct sk_buff *skb,
return -1;
}
- if (skb->protocol == ntohs(ETH_P_IP)) {
+ if (skb->protocol == htons(ETH_P_IP)) {
struct iphdr *iph = ip_hdr(skb);
real_len = (((unsigned char *)iph - skb->data) +