summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-01-24 16:37:36 +0800
committerJohn W. Linville <linville@tuxdriver.com>2006-01-30 20:35:34 -0500
commit4e22699fa264b88084210ceaa63747b8352bd517 (patch)
treef70b393f51d8c627cd45aeba09345f75b61f7ee6 /drivers/net
parent0a7bcf261ea584c87a9cee4523023fa74168de4a (diff)
[PATCH] ipw2200: Fix qos_cmd param switch bug
The patch fixes a couple of errors regarding QoS, which results in compile warnings and malfunction of the driver. Signed-off-by: Henrik Brix Andersen <brix@gentoo.org> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ipw2200.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 2fe1e048328e..072746c07a9c 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -7030,15 +7030,15 @@ static int ipw_handle_assoc_response(struct net_device *dev,
static int ipw_send_qos_params_command(struct ipw_priv *priv, struct ieee80211_qos_parameters
*qos_param)
{
- return ipw_send_cmd_pdu(priv, IPW_CMD_QOS_PARAMETERS, qos_param,
- sizeof(*qos_param) * 3);
+ return ipw_send_cmd_pdu(priv, IPW_CMD_QOS_PARAMETERS,
+ sizeof(*qos_param) * 3, qos_param);
}
static int ipw_send_qos_info_command(struct ipw_priv *priv, struct ieee80211_qos_information_element
*qos_param)
{
- return ipw_send_cmd_pdu(priv, IPW_CMD_WME_INFO, qos_param,
- sizeof(*qos_param));
+ return ipw_send_cmd_pdu(priv, IPW_CMD_WME_INFO, sizeof(*qos_param),
+ qos_param);
}
#endif /* CONFIG_IPW_QOS */