summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-04-06 21:10:33 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-04-16 13:47:52 -0700
commit7944f8e4acbb76bc8fde64dbffef43d2c8b5d053 (patch)
treed9aa5609afc6180cf9115085bef499746dd6f3d7 /drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
parentb6e4c55aaee4fd40526a6816e60c68dd62e565c4 (diff)
downloadblackbird-op-linux-7944f8e4acbb76bc8fde64dbffef43d2c8b5d053.tar.gz
blackbird-op-linux-7944f8e4acbb76bc8fde64dbffef43d2c8b5d053.zip
iwlwifi: more generic eeprom defines
Some definition for eeprom apply to more than 5000 series device, change the name to reflect it for easy reading. 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-agn-ucode.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-ucode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
index 52ae157968b2..059b70e09cd1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
@@ -207,7 +207,7 @@ static int iwlagn_set_Xtal_calib(struct iwl_priv *priv)
{
struct iwl_calib_xtal_freq_cmd cmd;
__le16 *xtal_calib =
- (__le16 *)iwl_eeprom_query_addr(priv, EEPROM_5000_XTAL);
+ (__le16 *)iwl_eeprom_query_addr(priv, EEPROM_XTAL);
cmd.hdr.op_code = IWL_PHY_CALIBRATE_CRYSTAL_FRQ_CMD;
cmd.hdr.first_group = 0;
OpenPOWER on IntegriCloud