diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-23 14:37:59 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-02 15:52:17 -0400 |
commit | b744cb79aec7d95905943c0bc64699eb02de143b (patch) | |
tree | f9a45249920097edf6a5a8fc9855a53e682489f2 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | d34a5a62da12ffa53b91895d094960b35474f2fc (diff) |
iwlwifi: code cleanup for generic defines
Some defines used by all agn devices, but the definitions were in
iwl-4965-hw.h, move those to iwl-agn-hw.h which is the better place for
those.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 083983a9d69..a5122a60d63 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2086,7 +2086,7 @@ static int iwl4965_calc_rssi(struct iwl_priv *priv, | |||
2086 | 2086 | ||
2087 | /* dBm = max_rssi dB - agc dB - constant. | 2087 | /* dBm = max_rssi dB - agc dB - constant. |
2088 | * Higher AGC (higher radio gain) means lower signal. */ | 2088 | * Higher AGC (higher radio gain) means lower signal. */ |
2089 | return max_rssi - agc - IWL49_RSSI_OFFSET; | 2089 | return max_rssi - agc - IWLAGN_RSSI_OFFSET; |
2090 | } | 2090 | } |
2091 | 2091 | ||
2092 | 2092 | ||