aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index abd0461bd307..8025c62d4d0c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -4056,7 +4056,7 @@ static void iwl_hw_detect(struct iwl_priv *priv)
4056{ 4056{
4057 priv->hw_rev = _iwl_read32(priv, CSR_HW_REV); 4057 priv->hw_rev = _iwl_read32(priv, CSR_HW_REV);
4058 priv->hw_wa_rev = _iwl_read32(priv, CSR_HW_REV_WA_REG); 4058 priv->hw_wa_rev = _iwl_read32(priv, CSR_HW_REV_WA_REG);
4059 pci_read_config_byte(priv->pci_dev, PCI_REVISION_ID, &priv->rev_id); 4059 priv->rev_id = priv->pci_dev->revision;
4060 IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", priv->rev_id); 4060 IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", priv->rev_id);
4061} 4061}
4062 4062