aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ioctl.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-01-29 16:26:44 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:43 -0500
commitc1b4aa3fb619782213af2af6652663c8f9cef373 (patch)
treea5c37c26ebf311dbf9428167efdb24915c1b824c /drivers/net/wireless/hostap/hostap_ioctl.c
parente5d24efe529b26d782b41a61a5e958c72f36f295 (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/hostap/hostap_ioctl.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ioctl.c b/drivers/net/wireless/hostap/hostap_ioctl.c
index c40fdf4c79de..8618b3355eb4 100644
--- a/drivers/net/wireless/hostap/hostap_ioctl.c
+++ b/drivers/net/wireless/hostap/hostap_ioctl.c
@@ -1638,7 +1638,7 @@ static int prism2_request_hostscan(struct net_device *dev,
1638 memset(&scan_req, 0, sizeof(scan_req)); 1638 memset(&scan_req, 0, sizeof(scan_req));
1639 scan_req.channel_list = cpu_to_le16(local->channel_mask & 1639 scan_req.channel_list = cpu_to_le16(local->channel_mask &
1640 local->scan_channel_mask); 1640 local->scan_channel_mask);
1641 scan_req.txrate = __constant_cpu_to_le16(HFA384X_RATES_1MBPS); 1641 scan_req.txrate = cpu_to_le16(HFA384X_RATES_1MBPS);
1642 if (ssid) { 1642 if (ssid) {
1643 if (ssid_len > 32) 1643 if (ssid_len > 32)
1644 return -EINVAL; 1644 return -EINVAL;
@@ -1668,7 +1668,7 @@ static int prism2_request_scan(struct net_device *dev)
1668 memset(&scan_req, 0, sizeof(scan_req)); 1668 memset(&scan_req, 0, sizeof(scan_req));
1669 scan_req.channel_list = cpu_to_le16(local->channel_mask & 1669 scan_req.channel_list = cpu_to_le16(local->channel_mask &
1670 local->scan_channel_mask); 1670 local->scan_channel_mask);
1671 scan_req.txrate = __constant_cpu_to_le16(HFA384X_RATES_1MBPS); 1671 scan_req.txrate = cpu_to_le16(HFA384X_RATES_1MBPS);
1672 1672
1673 /* FIX: 1673 /* FIX:
1674 * It seems to be enough to set roaming mode for a short moment to 1674 * It seems to be enough to set roaming mode for a short moment to
@@ -2514,7 +2514,7 @@ static int prism2_ioctl_priv_prism2_param(struct net_device *dev,
2514 u16 rate; 2514 u16 rate;
2515 2515
2516 memset(&scan_req, 0, sizeof(scan_req)); 2516 memset(&scan_req, 0, sizeof(scan_req));
2517 scan_req.channel_list = __constant_cpu_to_le16(0x3fff); 2517 scan_req.channel_list = cpu_to_le16(0x3fff);
2518 switch (value) { 2518 switch (value) {
2519 case 1: rate = HFA384X_RATES_1MBPS; break; 2519 case 1: rate = HFA384X_RATES_1MBPS; break;
2520 case 2: rate = HFA384X_RATES_2MBPS; break; 2520 case 2: rate = HFA384X_RATES_2MBPS; break;