diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 65386e575b1c..1ef3b7106ad5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -168,7 +168,7 @@ int iwl_send_add_sta(struct iwl_priv *priv, | |||
168 | } | 168 | } |
169 | 169 | ||
170 | cmd.len[0] = iwlagn_build_addsta_hcmd(sta, data); | 170 | cmd.len[0] = iwlagn_build_addsta_hcmd(sta, data); |
171 | ret = trans_send_cmd(priv, &cmd); | 171 | ret = trans_send_cmd(&priv->trans, &cmd); |
172 | 172 | ||
173 | if (ret || (flags & CMD_ASYNC)) | 173 | if (ret || (flags & CMD_ASYNC)) |
174 | return ret; | 174 | return ret; |
@@ -424,7 +424,7 @@ static int iwl_send_remove_station(struct iwl_priv *priv, | |||
424 | 424 | ||
425 | cmd.flags |= CMD_WANT_SKB; | 425 | cmd.flags |= CMD_WANT_SKB; |
426 | 426 | ||
427 | ret = trans_send_cmd(priv, &cmd); | 427 | ret = trans_send_cmd(&priv->trans, &cmd); |
428 | 428 | ||
429 | if (ret) | 429 | if (ret) |
430 | return ret; | 430 | return ret; |
@@ -669,7 +669,7 @@ void iwl_reprogram_ap_sta(struct iwl_priv *priv, struct iwl_rxon_context *ctx) | |||
669 | iwl_send_lq_cmd(priv, ctx, &lq, CMD_SYNC, true); | 669 | iwl_send_lq_cmd(priv, ctx, &lq, CMD_SYNC, true); |
670 | } | 670 | } |
671 | 671 | ||
672 | int iwl_get_free_ucode_key_index(struct iwl_priv *priv) | 672 | int iwl_get_free_ucode_key_offset(struct iwl_priv *priv) |
673 | { | 673 | { |
674 | int i; | 674 | int i; |
675 | 675 | ||
@@ -793,7 +793,7 @@ int iwl_send_lq_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx, | |||
793 | return -EINVAL; | 793 | return -EINVAL; |
794 | 794 | ||
795 | if (is_lq_table_valid(priv, ctx, lq)) | 795 | if (is_lq_table_valid(priv, ctx, lq)) |
796 | ret = trans_send_cmd(priv, &cmd); | 796 | ret = trans_send_cmd(&priv->trans, &cmd); |
797 | else | 797 | else |
798 | ret = -EINVAL; | 798 | ret = -EINVAL; |
799 | 799 | ||