ath9k: Disable ASPM only for AR9285
authorSujith Manoharan <c_manoha@qualcomm.com>
Fri, 21 Sep 2012 18:44:28 +0000 (00:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Sep 2012 19:57:43 +0000 (15:57 -0400)
commit046b6802c8d3c8a57448485513bf7291633e0fa3
tree0bacf396c12b9bb33a512b4de2247187e0c35388
parent63c664242d656b8507b10d66e0088e9b640f8906
ath9k: Disable ASPM only for AR9285

Currently, ASPM is disabled for all WLAN+BT combo chipsets
when BTCOEX is enabled. This is incorrect since the workaround
is required only for WB195, which is a AR9285+AR3011 combo
solution. Fix this by checking for the HW version when enabling
the workaround.

Cc: stable@vger.kernel.org
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Tested-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/pci.c