提交 4d906740 编写于 作者: S Sujith Manoharan 提交者: John W. Linville

ath9k_hw: Fix INI fixup

Commit "ath9k_hw: move AR9280 PCI EEPROM fix to eeprom_def.c"
changed the behavior of INI overriding which is needed only
for PCI cards. Revert to the original check.
Signed-off-by: NSujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 00e0003e
...@@ -247,9 +247,9 @@ static int ath9k_hw_def_check_eeprom(struct ath_hw *ah) ...@@ -247,9 +247,9 @@ static int ath9k_hw_def_check_eeprom(struct ath_hw *ah)
} }
/* Enable fixup for AR_AN_TOP2 if necessary */ /* Enable fixup for AR_AN_TOP2 if necessary */
if (AR_SREV_9280_20_OR_LATER(ah) && if ((ah->hw_version.devid == AR9280_DEVID_PCI) &&
(eep->baseEepHeader.version & 0xff) > 0x0a && ((eep->baseEepHeader.version & 0xff) > 0x0a) &&
eep->baseEepHeader.pwdclkind == 0) (eep->baseEepHeader.pwdclkind == 0))
ah->need_an_top2_fixup = 1; ah->need_an_top2_fixup = 1;
if ((common->bus_ops->ath_bus_type == ATH_USB) && if ((common->bus_ops->ath_bus_type == ATH_USB) &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册