Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:23410 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832Ab1HSNPQ (ORCPT ); Fri, 19 Aug 2011 09:15:16 -0400 From: Senthil Balasubramanian To: CC: , Senthil Balasubramanian , , Paul Stewart Subject: [PATCH v2] ath9k_hw: Fix STA (AR9485) bringup issue due to incorrect MAC address Date: Fri, 19 Aug 2011 18:43:06 +0530 Message-ID: <1313759586-2611-1-git-send-email-senthilb@qca.qualcomm.com> (sfid-20110819_151521_906673_241D3DFB) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: Due to some recent optimization done in the way the mac address bytes are written into the OTP memory, some AR9485 chipsets were forced to use the first byte from the eeprom template and the remaining bytes are read from OTP. AR9485 happens to use generic eeprom template which has 0x1 as the first byte causes issues in bringing up the card. So fixed the eeprom template accordingly to address the issue. Cc: stable@kernel.org Cc: Paul Stewart Signed-off-by: Senthil Balasubramanian --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index cb8bcc4..3b4ae07 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c @@ -69,7 +69,7 @@ static int ar9003_hw_power_interpolate(int32_t x, static const struct ar9300_eeprom ar9300_default = { .eepromVersion = 2, .templateVersion = 2, - .macAddr = {1, 2, 3, 4, 5, 6}, + .macAddr = {0, 2, 3, 4, 5, 6}, .custData = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, .baseEepHeader = { -- 1.7.4.4