diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-29 16:26:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:43 -0500 |
commit | c1b4aa3fb619782213af2af6652663c8f9cef373 (patch) | |
tree | a5c37c26ebf311dbf9428167efdb24915c1b824c /drivers/net/wireless/ipw2x00 | |
parent | e5d24efe529b26d782b41a61a5e958c72f36f295 (diff) |
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.c | 2 |
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, | |||
8272 | skb_reset_mac_header(skb); | 8272 | skb_reset_mac_header(skb); |
8273 | 8273 | ||
8274 | skb->pkt_type = PACKET_OTHERHOST; | 8274 | skb->pkt_type = PACKET_OTHERHOST; |
8275 | skb->protocol = __constant_htons(ETH_P_80211_STATS); | 8275 | skb->protocol = cpu_to_be16(ETH_P_80211_STATS); |
8276 | memset(skb->cb, 0, sizeof(rxb->skb->cb)); | 8276 | memset(skb->cb, 0, sizeof(rxb->skb->cb)); |
8277 | netif_rx(skb); | 8277 | netif_rx(skb); |
8278 | rxb->skb = NULL; | 8278 | rxb->skb = NULL; |