diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 8 |
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, | |||
7030 | static int ipw_send_qos_params_command(struct ipw_priv *priv, struct ieee80211_qos_parameters | 7030 | static int ipw_send_qos_params_command(struct ipw_priv *priv, struct ieee80211_qos_parameters |
7031 | *qos_param) | 7031 | *qos_param) |
7032 | { | 7032 | { |
7033 | return ipw_send_cmd_pdu(priv, IPW_CMD_QOS_PARAMETERS, qos_param, | 7033 | return ipw_send_cmd_pdu(priv, IPW_CMD_QOS_PARAMETERS, |
7034 | sizeof(*qos_param) * 3); | 7034 | sizeof(*qos_param) * 3, qos_param); |
7035 | } | 7035 | } |
7036 | 7036 | ||
7037 | static int ipw_send_qos_info_command(struct ipw_priv *priv, struct ieee80211_qos_information_element | 7037 | static int ipw_send_qos_info_command(struct ipw_priv *priv, struct ieee80211_qos_information_element |
7038 | *qos_param) | 7038 | *qos_param) |
7039 | { | 7039 | { |
7040 | return ipw_send_cmd_pdu(priv, IPW_CMD_WME_INFO, qos_param, | 7040 | return ipw_send_cmd_pdu(priv, IPW_CMD_WME_INFO, sizeof(*qos_param), |
7041 | sizeof(*qos_param)); | 7041 | qos_param); |
7042 | } | 7042 | } |
7043 | 7043 | ||
7044 | #endif /* CONFIG_IPW_QOS */ | 7044 | #endif /* CONFIG_IPW_QOS */ |