summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-01-29 13:26:44 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:43 -0500
commitc1b4aa3fb619782213af2af6652663c8f9cef373 (patch)
treea5c37c26ebf311dbf9428167efdb24915c1b824c /drivers/net/wireless/ipw2x00
parente5d24efe529b26d782b41a61a5e958c72f36f295 (diff)
downloadblackbird-obmc-linux-c1b4aa3fb619782213af2af6652663c8f9cef373.tar.gz
blackbird-obmc-linux-c1b4aa3fb619782213af2af6652663c8f9cef373.zip
wireless: replace uses of __constant_{endian}
The base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 625f2cf99fa9..0420d3d35dd4 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -8272,7 +8272,7 @@ static void ipw_handle_mgmt_packet(struct ipw_priv *priv,
skb_reset_mac_header(skb);
skb->pkt_type = PACKET_OTHERHOST;
- skb->protocol = __constant_htons(ETH_P_80211_STATS);
+ skb->protocol = cpu_to_be16(ETH_P_80211_STATS);
memset(skb->cb, 0, sizeof(rxb->skb->cb));
netif_rx(skb);
rxb->skb = NULL;
OpenPOWER on IntegriCloud