diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-23 11:37:59 -0700 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-02 12:52:17 -0700 |
commit | b744cb79aec7d95905943c0bc64699eb02de143b (patch) | |
tree | f9a45249920097edf6a5a8fc9855a53e682489f2 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | d34a5a62da12ffa53b91895d094960b35474f2fc (diff) | |
download | op-kernel-dev-b744cb79aec7d95905943c0bc64699eb02de143b.zip op-kernel-dev-b744cb79aec7d95905943c0bc64699eb02de143b.tar.gz |
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 083983a..a5122a6 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, /* dBm = max_rssi dB - agc dB - constant. * Higher AGC (higher radio gain) means lower signal. */ - return max_rssi - agc - IWL49_RSSI_OFFSET; + return max_rssi - agc - IWLAGN_RSSI_OFFSET; } |