aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2008-12-18 21:37:12 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:58:58 -0500
commitd9829a67f953379b5cab6b78ae8f7a879a591eb1 (patch)
treea41656685e3ecda9ecdec06ca06efc5367485f05 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parent250bdd216c95907760b3fcc3aac1ed436d21c66c (diff)
iwl3945: Use iwl-agn-rs.h rates definitions.
A lot of rate relates definition are shared between iwl-3945-rs.h and iwl-agn-rs.h. Let's just use the agn version, and add the 3945 specific constants there. Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 3738ffa2dcde..df785246ba1f 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -4843,7 +4843,7 @@ static void iwl3945_init_hw_rates(struct iwl3945_priv *priv,
4843 rates[i].hw_value = i; /* Rate scaling will work on indexes */ 4843 rates[i].hw_value = i; /* Rate scaling will work on indexes */
4844 rates[i].hw_value_short = i; 4844 rates[i].hw_value_short = i;
4845 rates[i].flags = 0; 4845 rates[i].flags = 0;
4846 if ((i > IWL_LAST_OFDM_RATE) || (i < IWL_FIRST_OFDM_RATE)) { 4846 if ((i > IWL39_LAST_OFDM_RATE) || (i < IWL_FIRST_OFDM_RATE)) {
4847 /* 4847 /*
4848 * If CCK != 1M then set short preamble rate flag. 4848 * If CCK != 1M then set short preamble rate flag.
4849 */ 4849 */