ath9k_hw: Fix STA (AR9485) bringup issue due to incorrect MAC address
authorSenthil Balasubramanian <senthilb@qca.qualcomm.com>
Fri, 19 Aug 2011 13:13:06 +0000 (18:43 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:39:56 +0000 (11:39 -0700)
commit6417bec17ed125eecd1bd3989c2c97e8d31d7dfd
tree426274d1caba1df160b5da71bfe4a65a3f1cacd4
parent8a9f335df5baa97f3901378335ff10f3fecf36de
ath9k_hw: Fix STA (AR9485) bringup issue due to incorrect MAC address

commit b503c7a273c0a3018ad11ea8c513c639120afbf4 upstream.

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: Paul Stewart <pstew@google.com>
Signed-off-by: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c