summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki2007-12-11 19:54:23 +0100
committerDavid S. Miller2008-01-28 23:58:04 +0100
commitf831e90971dc942a9f2fcc918a5739eb6d4ef4c5 (patch)
treec0e5fa17143ca64c3c964e435cb5a7d5903a767e /net/mac80211/rx.c
parent[IRDA]: Use htons() where appropriate. (diff)
downloadkernel-qcow2-linux-f831e90971dc942a9f2fcc918a5739eb6d4ef4c5.tar.gz
kernel-qcow2-linux-f831e90971dc942a9f2fcc918a5739eb6d4ef4c5.tar.xz
kernel-qcow2-linux-f831e90971dc942a9f2fcc918a5739eb6d4ef4c5.zip
[MAC80211]: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 0020e409e57d..c542fc1c983d 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1193,7 +1193,7 @@ ieee80211_deliver_skb(struct ieee80211_txrx_data *rx)
if (xmit_skb) {
/* send to wireless media */
- xmit_skb->protocol = __constant_htons(ETH_P_802_3);
+ xmit_skb->protocol = htons(ETH_P_802_3);
skb_set_network_header(xmit_skb, 0);
skb_set_mac_header(xmit_skb, 0);
dev_queue_xmit(xmit_skb);