]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
.27 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 23:27:41 +0000 (16:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 23:27:41 +0000 (16:27 -0700)
queue-2.6.27/ath9k-fix-oops-on-trying-to-hold-the-wrong-spinlock.patch [new file with mode: 0644]
queue-2.6.27/series

diff --git a/queue-2.6.27/ath9k-fix-oops-on-trying-to-hold-the-wrong-spinlock.patch b/queue-2.6.27/ath9k-fix-oops-on-trying-to-hold-the-wrong-spinlock.patch
new file mode 100644 (file)
index 0000000..7db60b2
--- /dev/null
@@ -0,0 +1,35 @@
+From a477e4e6d48d3ac7c7a75bad40585cb391e5c237 Mon Sep 17 00:00:00 2001
+From: Luis R. Rodriguez <lrodriguez@atheros.com>
+Date: Fri, 3 Oct 2008 15:45:26 -0700
+Subject: ath9k: fix oops on trying to hold the wrong spinlock
+
+From: Luis R. Rodriguez <lrodriguez@atheros.com>
+
+commit a477e4e6d48d3ac7c7a75bad40585cb391e5c237 upstream
+
+We were trying to hold the wrong spinlock due to a typo
+on IEEE80211_BAR_CTL_TID_S's definition. We use this to
+compute the tid number and then hold this this tid number's
+spinlock.
+
+Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
+Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
+Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/net/wireless/ath9k/core.h |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/wireless/ath9k/core.h
++++ b/drivers/net/wireless/ath9k/core.h
+@@ -316,7 +316,7 @@ void ath_descdma_cleanup(struct ath_soft
+ #define ATH_RX_TIMEOUT           40      /* 40 milliseconds */
+ #define WME_NUM_TID              16
+ #define IEEE80211_BAR_CTL_TID_M  0xF000  /* tid mask */
+-#define IEEE80211_BAR_CTL_TID_S  2       /* tid shift */
++#define IEEE80211_BAR_CTL_TID_S  12      /* tid shift */
+ enum ATH_RX_TYPE {
+       ATH_RX_NON_CONSUMED = 0,
index 97f1b5a506257245adef40a2c4dce1705c5fe431..16f70cd61933a63244bdaf39bd5bb50bec94c784 100644 (file)
@@ -5,3 +5,4 @@ driver-core-clarify-device-cleanup.patch
 ath9k-mac80211-disallow-fragmentation-in-ath9k-report-to-userspace.patch
 md-fix-rdev_size_store-with-size-0.patch
 xfs-fix-remount-rw-with-unrecognized-options.patch
+ath9k-fix-oops-on-trying-to-hold-the-wrong-spinlock.patch