diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-09-22 12:01:55 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-10-07 18:48:53 -0400 |
commit | 7314c2b377afaf367f2966bd9ea67bf83350e29b (patch) | |
tree | b8959c69d787d79a192d6ffd8df5e49efb76ba21 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 15a6321d1c0f8db561932cd99e1b9897981da71f (diff) |
iwlagn: rename iwl_commit_rxon
iwl_commit_rxon really should be named
iwlagn_commit_rxon, so rename it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index a6dce616ee3c..b59ce92730c7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -91,14 +91,14 @@ static int iwlagn_ant_coupling; | |||
91 | static bool iwlagn_bt_ch_announce = 1; | 91 | static bool iwlagn_bt_ch_announce = 1; |
92 | 92 | ||
93 | /** | 93 | /** |
94 | * iwl_commit_rxon - commit staging_rxon to hardware | 94 | * iwlagn_commit_rxon - commit staging_rxon to hardware |
95 | * | 95 | * |
96 | * The RXON command in staging_rxon is committed to the hardware and | 96 | * The RXON command in staging_rxon is committed to the hardware and |
97 | * the active_rxon structure is updated with the new data. This | 97 | * the active_rxon structure is updated with the new data. This |
98 | * function correctly transitions out of the RXON_ASSOC_MSK state if | 98 | * function correctly transitions out of the RXON_ASSOC_MSK state if |
99 | * a HW tune is required based on the RXON structure changes. | 99 | * a HW tune is required based on the RXON structure changes. |
100 | */ | 100 | */ |
101 | int iwl_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx) | 101 | int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx) |
102 | { | 102 | { |
103 | /* cast away the const for active_rxon in this function */ | 103 | /* cast away the const for active_rxon in this function */ |
104 | struct iwl_rxon_cmd *active_rxon = (void *)&ctx->active; | 104 | struct iwl_rxon_cmd *active_rxon = (void *)&ctx->active; |