diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-19 19:52:57 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-30 11:39:44 -0400 |
commit | c3f6e9cff950c312d409e5767365aeb2475b2ab7 (patch) | |
tree | 9e62afe76207ab71e1878f88b369283cba74c657 /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | e43e85c40d83f0a7a6ff5631d1009d142b72dbca (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.h | 6 |
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 | ||
92 | struct iwl_hcmd_ops { | 92 | struct 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); | |||
645 | int iwl_apm_init(struct iwl_priv *priv); | 644 | int iwl_apm_init(struct iwl_priv *priv); |
646 | 645 | ||
647 | int iwl_send_rxon_timing(struct iwl_priv *priv, struct iwl_rxon_context *ctx); | 646 | int iwl_send_rxon_timing(struct iwl_priv *priv, struct iwl_rxon_context *ctx); |
648 | static 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 | } | ||
653 | static inline int iwlcore_commit_rxon(struct iwl_priv *priv, | 647 | static inline int iwlcore_commit_rxon(struct iwl_priv *priv, |
654 | struct iwl_rxon_context *ctx) | 648 | struct iwl_rxon_context *ctx) |
655 | { | 649 | { |