diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index 02990aeabab5..7d7ce7489ab5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "../net/mac80211/ieee80211_rate.h" | 39 | #include "../net/mac80211/ieee80211_rate.h" |
40 | 40 | ||
41 | #include "iwl-4965.h" | 41 | #include "iwl-4965.h" |
42 | #include "iwl-core.h" | ||
42 | #include "iwl-helpers.h" | 43 | #include "iwl-helpers.h" |
43 | 44 | ||
44 | #define RS_NAME "iwl-4965-rs" | 45 | #define RS_NAME "iwl-4965-rs" |
@@ -230,7 +231,7 @@ static s32 expected_tpt_mimo40MHzSGI[IWL_RATE_COUNT] = { | |||
230 | }; | 231 | }; |
231 | 232 | ||
232 | static int iwl4965_lq_sync_callback(struct iwl_priv *priv, | 233 | static int iwl4965_lq_sync_callback(struct iwl_priv *priv, |
233 | struct iwl4965_cmd *cmd, struct sk_buff *skb) | 234 | struct iwl_cmd *cmd, struct sk_buff *skb) |
234 | { | 235 | { |
235 | /*We didn't cache the SKB; let the caller free it */ | 236 | /*We didn't cache the SKB; let the caller free it */ |
236 | return 1; | 237 | return 1; |
@@ -247,7 +248,7 @@ static int rs_send_lq_cmd(struct iwl_priv *priv, | |||
247 | #ifdef CONFIG_IWLWIFI_DEBUG | 248 | #ifdef CONFIG_IWLWIFI_DEBUG |
248 | int i; | 249 | int i; |
249 | #endif | 250 | #endif |
250 | struct iwl4965_host_cmd cmd = { | 251 | struct iwl_host_cmd cmd = { |
251 | .id = REPLY_TX_LINK_QUALITY_CMD, | 252 | .id = REPLY_TX_LINK_QUALITY_CMD, |
252 | .len = sizeof(struct iwl4965_link_quality_cmd), | 253 | .len = sizeof(struct iwl4965_link_quality_cmd), |
253 | .meta.flags = flags, | 254 | .meta.flags = flags, |
@@ -276,7 +277,7 @@ static int rs_send_lq_cmd(struct iwl_priv *priv, | |||
276 | 277 | ||
277 | if (iwl4965_is_associated(priv) && priv->assoc_station_added && | 278 | if (iwl4965_is_associated(priv) && priv->assoc_station_added && |
278 | priv->lq_mngr.lq_ready) | 279 | priv->lq_mngr.lq_ready) |
279 | return iwl4965_send_cmd(priv, &cmd); | 280 | return iwl_send_cmd(priv, &cmd); |
280 | 281 | ||
281 | return 0; | 282 | return 0; |
282 | } | 283 | } |