summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-03 15:49:02 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-03 15:49:02 +0000
commita4d6b2f204fb61e7ef9049ebf31d31e37c26d538 (patch)
tree1931eaf1742a94ed5806fa6238f8a42b4649bd3b /package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch
parent370c17b44f61ef812cc2153002d859504c60ca0b (diff)
[package] mac80211: update compat-wireless to 2009-03-03, and add a new ath9k patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14744 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch')
-rw-r--r--package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch b/package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch
new file mode 100644
index 000000000..44b237bc0
--- /dev/null
+++ b/package/mac80211/patches/404-ath9k-fix-AR_TXCFG_DMASZ_MASK-value.patch
@@ -0,0 +1,29 @@
+From 65f2e0de53bdb745149c8d9b4e6867f8394a789b Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Sat, 10 Jan 2009 14:27:29 +0100
+Subject: [PATCH] ath9k: fix AR_TXCFG_DMASZ_MASK value
+
+The current bitmask is invalid, because the tx dma size is a 3 bit wide
+value.
+
+Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+---
+ drivers/net/wireless/ath9k/reg.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/net/wireless/ath9k/reg.h b/drivers/net/wireless/ath9k/reg.h
+index 8d85106..91442da 100644
+--- a/drivers/net/wireless/ath9k/reg.h
++++ b/drivers/net/wireless/ath9k/reg.h
+@@ -67,7 +67,7 @@
+ #define AR_DMASIZE_512B 0x00000007
+
+ #define AR_TXCFG 0x0030
+-#define AR_TXCFG_DMASZ_MASK 0x00000003
++#define AR_TXCFG_DMASZ_MASK 0x00000007
+ #define AR_TXCFG_DMASZ_4B 0
+ #define AR_TXCFG_DMASZ_8B 1
+ #define AR_TXCFG_DMASZ_16B 2
+--
+1.5.3.2
+