|
@@ -128,8 +128,9 @@ static void ath_pci_aspm_init(struct ath_common *common)
|
|
|
if (!parent)
|
|
|
return;
|
|
|
|
|
|
- if (ath9k_hw_get_btcoex_scheme(ah) != ATH_BTCOEX_CFG_NONE) {
|
|
|
- /* Bluetooth coexistance requires disabling ASPM. */
|
|
|
+ if ((ath9k_hw_get_btcoex_scheme(ah) != ATH_BTCOEX_CFG_NONE) &&
|
|
|
+ (AR_SREV_9285(ah))) {
|
|
|
+ /* Bluetooth coexistance requires disabling ASPM for AR9285. */
|
|
|
pci_read_config_byte(pdev, pos + PCI_EXP_LNKCTL, &aspm);
|
|
|
aspm &= ~(PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1);
|
|
|
pci_write_config_byte(pdev, pos + PCI_EXP_LNKCTL, aspm);
|