mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-01 21:57:31 +02:00
d8377ffdca
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19296 3c298f89-4303-0410-b956-a3cf2f4a3e73
27 lines
719 B
Diff
27 lines
719 B
Diff
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -823,12 +823,11 @@ static void ath9k_hw_init_mode_gain_regs
|
|
}
|
|
}
|
|
|
|
-static void ath9k_hw_init_11a_eeprom_fix(struct ath_hw *ah)
|
|
+static void ath9k_hw_init_eeprom_fix(struct ath_hw *ah)
|
|
{
|
|
u32 i, j;
|
|
|
|
- if ((ah->hw_version.devid == AR9280_DEVID_PCI) &&
|
|
- test_bit(ATH9K_MODE_11A, ah->caps.wireless_modes)) {
|
|
+ if (ah->hw_version.devid == AR9280_DEVID_PCI) {
|
|
|
|
/* EEPROM Fixup */
|
|
for (i = 0; i < ah->iniModes.ia_rows; i++) {
|
|
@@ -948,7 +947,7 @@ int ath9k_hw_init(struct ath_hw *ah)
|
|
if (r)
|
|
return r;
|
|
|
|
- ath9k_hw_init_11a_eeprom_fix(ah);
|
|
+ ath9k_hw_init_eeprom_fix(ah);
|
|
|
|
r = ath9k_hw_init_macaddr(ah);
|
|
if (r) {
|