diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-07-22 17:51:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-22 17:51:16 -0400 |
commit | 41bf37117b47fc5ce2aae91f6a108e7e42e0b046 (patch) | |
tree | d5c8f24075313edfe548256dd931527f1569921e /drivers/net/wireless/iwlwifi/iwl-sta.c | |
parent | 415b3334a21aa67806c52d1acf4e72e14f7f402f (diff) | |
parent | 6e6e8c510a84fe3237ef02b954e58cca6a3f4b1a (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
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 | ||