aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Hacker <hacker@epn.ru>2011-08-04 13:47:32 +0600
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-15 18:31:43 -0700
commit05362c29b1639185999b695cdaa37e0c1c15444a (patch)
tree7fdc6d6700748e1433d72aa0b6b58ca2fc23667c
parent5b61b4c55862e0403795bc4f7a8348accc3ca987 (diff)
downloadlinux-linaro-05362c29b1639185999b695cdaa37e0c1c15444a.tar.gz
ath9k: fix a misprint which leads to incorrect calibration
commit 118c9db51e7acaf8f16deae8311cce6588b83e31 upstream. This patch addresses an issue with incorrect HW register AR_PHY_TX_IQCAL_CORR_COEFF_B1 definition which leads to incorrect clibration. Signed-off-by: Alex Hacker <hacker@epn.ru> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.h b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
index 443090d278e..efdbe98fa7e 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
@@ -848,7 +848,7 @@
#define AR_PHY_TPC_11_B1 (AR_SM1_BASE + 0x220)
#define AR_PHY_PDADC_TAB_1 (AR_SM1_BASE + 0x240)
#define AR_PHY_TX_IQCAL_STATUS_B1 (AR_SM1_BASE + 0x48c)
-#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i) (AR_SM_BASE + 0x450 + ((_i) << 2))
+#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i) (AR_SM1_BASE + 0x450 + ((_i) << 2))
/*
* Channel 2 Register Map