linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath9k_hw: Fix STA (AR9485) bringup issue due to incorrect MAC address
@ 2011-08-09 18:22 Senthil Balasubramanian
  2011-08-09 18:31 ` Luis R. Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Senthil Balasubramanian @ 2011-08-09 18:22 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Senthil Balasubramanian, Paul Stewart

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 as 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: Paul Stewart <pstew@google.com>
Signed-off-by: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
---
 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 184abb6..b527ea1 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.0.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-17  7:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 18:22 [PATCH] ath9k_hw: Fix STA (AR9485) bringup issue due to incorrect MAC address Senthil Balasubramanian
2011-08-09 18:31 ` Luis R. Rodriguez
2011-08-09 18:32   ` Luis R. Rodriguez
2011-08-09 18:44     ` Senthil Balasubramanian
2011-08-12 17:17       ` John W. Linville
2011-08-17  7:06         ` Senthil Balasubramanian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).