diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-03-11 19:17:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-13 19:32:33 -0400 |
commit | 35cdeaf4103b9a5c8a86899a5ed12a86c6a12a37 (patch) | |
tree | c3d914d830aafb8db4fefdeb3d47b43399196753 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 0310ae721d1b7aaf10dd8b712a3a83c355786970 (diff) |
iwlwifi: change rate number to a constant
This patch moves a number to an understandable define
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index d84a7f296d90..b78ca7720bdf 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -5450,8 +5450,9 @@ static void iwl4965_init_hw_rates(struct iwl4965_priv *priv, | |||
5450 | /* | 5450 | /* |
5451 | * If CCK != 1M then set short preamble rate flag. | 5451 | * If CCK != 1M then set short preamble rate flag. |
5452 | */ | 5452 | */ |
5453 | rates[i].flags |= (iwl4965_rates[i].plcp == 10) ? | 5453 | rates[i].flags |= |
5454 | 0 : IEEE80211_RATE_SHORT_PREAMBLE; | 5454 | (iwl4965_rates[i].plcp == IWL_RATE_1M_PLCP) ? |
5455 | 0 : IEEE80211_RATE_SHORT_PREAMBLE; | ||
5455 | } | 5456 | } |
5456 | } | 5457 | } |
5457 | } | 5458 | } |