aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-sta.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-07-08 11:46:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-11 15:02:04 -0400
commitbdfbf0924ab05e02d28e50bd2d5024097642a78d (patch)
tree5702f76263d17ec20051690a6bb0b88205ad6fe2 /drivers/net/wireless/iwlwifi/iwl-agn-sta.c
parent02f6f659b0080e60021aae3503163576f88c5ba8 (diff)
iwlagn: provide heplers to access the transport ops
This removes the for priv->trans.ops->... Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-sta.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-sta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c b/drivers/net/wireless/iwlwifi/iwl-agn-sta.c
index b0e54c915c78..001622c06526 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-sta.c
@@ -33,6 +33,7 @@
33#include "iwl-core.h" 33#include "iwl-core.h"
34#include "iwl-sta.h" 34#include "iwl-sta.h"
35#include "iwl-agn.h" 35#include "iwl-agn.h"
36#include "iwl-trans.h"
36 37
37static struct iwl_link_quality_cmd * 38static struct iwl_link_quality_cmd *
38iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id) 39iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id)
@@ -180,7 +181,7 @@ static int iwl_send_static_wepkey_cmd(struct iwl_priv *priv,
180 cmd.len[0] = cmd_size; 181 cmd.len[0] = cmd_size;
181 182
182 if (not_empty || send_if_empty) 183 if (not_empty || send_if_empty)
183 return priv->trans.ops->send_cmd(priv, &cmd); 184 return trans_send_cmd(priv, &cmd);
184 else 185 else
185 return 0; 186 return 0;
186} 187}