Return-path: Received: from AShevkov.infinet.ru ([91.191.225.92]:37378 "EHLO AShevkov.infinet.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752403Ab1HDHtF (ORCPT ); Thu, 4 Aug 2011 03:49:05 -0400 From: Alex Hacker To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, Alex Hacker , stable@kernel.org Subject: [PATCH v2] ath9k: fix a misprint which leads to incorrect calibration Date: Thu, 4 Aug 2011 13:47:32 +0600 Message-Id: <1312444052-31691-1-git-send-email-hacker@epn.ru> (sfid-20110804_094910_091102_78C63F4C) Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 --- drivers/net/wireless/ath/ath9k/ar9003_phy.h | 2 +- 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 6de3f0b..5c59042 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h @@ -850,7 +850,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 -- 1.7.4