]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: Disable ASPM only for AR9285
authorSujith Manoharan <c_manoha@qualcomm.com>
Fri, 21 Sep 2012 18:44:28 +0000 (00:14 +0530)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:48:55 +0000 (03:48 +0100)
commit03b6b180216ccfa64746329e9ce71e8fc9df828b
tree5cdbc64a2baac622881c9073caed507a312dc85c
parente7d2d9799d2c4e6db4b63f84d363e033024dcc93
ath9k: Disable ASPM only for AR9285

commit 046b6802c8d3c8a57448485513bf7291633e0fa3 upstream.

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.

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>
[bwh: Backported to 3.2: ath9k_hw_get_btcoex_scheme() function is missing]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/ath/ath9k/pci.c