aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-04-19 19:52:57 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-04-30 11:39:44 -0400
commitc3f6e9cff950c312d409e5767365aeb2475b2ab7 (patch)
tree9e62afe76207ab71e1878f88b369283cba74c657 /drivers/net/wireless/iwlwifi/iwl-core.h
parente43e85c40d83f0a7a6ff5631d1009d142b72dbca (diff)
iwlagn: make rxon_assoc static function
Move rxon_assoc to static function from ops Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 6226e3d9f101..4cdb85d971ce 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -90,7 +90,6 @@ struct iwl_cmd;
90#define IWL_CMD(x) case x: return #x 90#define IWL_CMD(x) case x: return #x
91 91
92struct iwl_hcmd_ops { 92struct iwl_hcmd_ops {
93 int (*rxon_assoc)(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
94 int (*commit_rxon)(struct iwl_priv *priv, struct iwl_rxon_context *ctx); 93 int (*commit_rxon)(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
95 void (*set_rxon_chain)(struct iwl_priv *priv, 94 void (*set_rxon_chain)(struct iwl_priv *priv,
96 struct iwl_rxon_context *ctx); 95 struct iwl_rxon_context *ctx);
@@ -645,11 +644,6 @@ void iwl_apm_stop(struct iwl_priv *priv);
645int iwl_apm_init(struct iwl_priv *priv); 644int iwl_apm_init(struct iwl_priv *priv);
646 645
647int iwl_send_rxon_timing(struct iwl_priv *priv, struct iwl_rxon_context *ctx); 646int iwl_send_rxon_timing(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
648static inline int iwl_send_rxon_assoc(struct iwl_priv *priv,
649 struct iwl_rxon_context *ctx)
650{
651 return priv->cfg->ops->hcmd->rxon_assoc(priv, ctx);
652}
653static inline int iwlcore_commit_rxon(struct iwl_priv *priv, 647static inline int iwlcore_commit_rxon(struct iwl_priv *priv,
654 struct iwl_rxon_context *ctx) 648 struct iwl_rxon_context *ctx)
655{ 649{