projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f576e24
)
[NET] IEEE80211: Use htons() where appropriate.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Wed, 7 Mar 2007 05:19:05 +0000
(14:19 +0900)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:57 +0000
(22:23 -0700)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee80211/ieee80211_tx.c
patch
|
blob
|
history
diff --git
a/net/ieee80211/ieee80211_tx.c
b/net/ieee80211/ieee80211_tx.c
index 0292d6348e1268671ad71cba02931271122a531e..3fca4345ebe523ccb1a2b0ec57a5c7a987f0824d 100644
(file)
--- a/
net/ieee80211/ieee80211_tx.c
+++ b/
net/ieee80211/ieee80211_tx.c
@@
-225,7
+225,7
@@
static int ieee80211_classify(struct sk_buff *skb)
struct iphdr *ip;
eth = (struct ethhdr *)skb->data;
- if (eth->h_proto !=
__constant_
htons(ETH_P_IP))
+ if (eth->h_proto != htons(ETH_P_IP))
return 0;
ip = skb->nh.iph;