]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Jun 2013 20:05:10 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Jun 2013 20:05:10 +0000 (13:05 -0700)
added patches:
ath9k-disable-powersave-by-default.patch

queue-3.0/ath9k-disable-powersave-by-default.patch [new file with mode: 0644]
queue-3.0/series

diff --git a/queue-3.0/ath9k-disable-powersave-by-default.patch b/queue-3.0/ath9k-disable-powersave-by-default.patch
new file mode 100644 (file)
index 0000000..43aeee4
--- /dev/null
@@ -0,0 +1,37 @@
+From 531671cb17af07281e6f28c1425f754346e65c41 Mon Sep 17 00:00:00 2001
+From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
+Date: Sat, 1 Jun 2013 07:08:09 +0530
+Subject: ath9k: Disable PowerSave by default
+
+From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
+
+commit 531671cb17af07281e6f28c1425f754346e65c41 upstream.
+
+Almost all the DMA issues which have plagued ath9k (in station mode)
+for years are related to PS. Disabling PS usually "fixes" the user's
+connection stablility. Reports of DMA problems are still trickling in
+and are sitting in the kernel bugzilla. Until the PS code in ath9k is
+given a thorough review, disbale it by default. The slight increase
+in chip power consumption is a small price to pay for improved link
+stability.
+
+Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/net/wireless/ath/ath9k/init.c |    3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+--- a/drivers/net/wireless/ath/ath9k/init.c
++++ b/drivers/net/wireless/ath/ath9k/init.c
+@@ -704,8 +704,7 @@ void ath9k_set_hw_capab(struct ath_softc
+               BIT(NL80211_IFTYPE_ADHOC) |
+               BIT(NL80211_IFTYPE_MESH_POINT);
+-      if (AR_SREV_5416(sc->sc_ah))
+-              hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
++      hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
+       hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
index 9208fd03bccd5a0f1fbcc2f62d233463cc86e5c3..8588fbd541beba887c4ada978fe33d966d8437f8 100644 (file)
@@ -1 +1,2 @@
 b43-stop-format-string-leaking-into-error-msgs.patch
+ath9k-disable-powersave-by-default.patch