ath9k: fix a misprint which leads to incorrect calibration
authorAlex Hacker <hacker@epn.ru>
Thu, 4 Aug 2011 07:47:32 +0000 (13:47 +0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Aug 2011 20:11:33 +0000 (16:11 -0400)
This patch addresses an issue with incorrect HW register
AR_PHY_TX_IQCAL_CORR_COEFF_B1 definition which leads to incorrect clibration.

Cc: stable@kernel.org
Signed-off-by: Alex Hacker <hacker@epn.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.h

index 6de3f0bc18e6f34ab9c69d171972237823d5ad84..5c590429f120c307688952206e997aef6832d066 100644 (file)
 #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
This page took 0.061588 seconds and 5 git commands to generate.