aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/400-changeset_r3402.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-11-02 13:03:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-11-02 13:03:03 +0000
commit891b476e67c64477aac32094a29f3345e742da45 (patch)
treeb4a60f0da149a0f538541c85ada3e57600bb531e /package/madwifi/patches/400-changeset_r3402.patch
parent9e98573a53e81aa35cd43f837a28095a4fdd8b3b (diff)
downloadupstream-891b476e67c64477aac32094a29f3345e742da45.tar.gz
upstream-891b476e67c64477aac32094a29f3345e742da45.tar.bz2
upstream-891b476e67c64477aac32094a29f3345e742da45.zip
fix a rare wds related noderef issue
SVN-Revision: 13095
Diffstat (limited to 'package/madwifi/patches/400-changeset_r3402.patch')
-rw-r--r--package/madwifi/patches/400-changeset_r3402.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/400-changeset_r3402.patch b/package/madwifi/patches/400-changeset_r3402.patch
index af7e6d5733..f43a6d90d2 100644
--- a/package/madwifi/patches/400-changeset_r3402.patch
+++ b/package/madwifi/patches/400-changeset_r3402.patch
@@ -1,6 +1,6 @@
--- a/ath_hal/ah_os.h
+++ b/ath_hal/ah_os.h
-@@ -194,10 +194,6 @@
+@@ -194,10 +194,6 @@ extern u_int32_t __ahdecl ath_hal_getupt
*/
#if (AH_BYTE_ORDER == AH_BIG_ENDIAN)
#define is_reg_le(__reg) ((0x4000 <= (__reg) && (__reg) < 0x5000))
@@ -11,7 +11,7 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
#define _OS_REG_WRITE(_ah, _reg, _val) do { \
is_reg_le(_reg) ? \
-@@ -219,6 +215,21 @@
+@@ -219,6 +215,21 @@ extern u_int32_t __ahdecl ath_hal_getupt
readl((_ah)->ah_sh + (_reg)) : \
cpu_to_le32(readl((_ah)->ah_sh + (_reg))))
#endif /* KERNEL_VERSION(2,6,12) */