aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-27 13:21:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-27 13:21:53 +0000
commitedba77a97dc6bf1bef531057bd0a8f7c59a206b6 (patch)
treee2ca8e84842743218ac6661437d2a9ba46745980 /target/linux/generic
parent732fb298d40ddb10840d07a13d7b61010e1141cb (diff)
downloadupstream-edba77a97dc6bf1bef531057bd0a8f7c59a206b6.tar.gz
upstream-edba77a97dc6bf1bef531057bd0a8f7c59a206b6.tar.bz2
upstream-edba77a97dc6bf1bef531057bd0a8f7c59a206b6.zip
ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done. Enable endian check for the lantiq target. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/include/linux/ath9k_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/ath9k_platform.h b/target/linux/generic/files/include/linux/ath9k_platform.h
index b37d23d834..15b913730f 100644
--- a/target/linux/generic/files/include/linux/ath9k_platform.h
+++ b/target/linux/generic/files/include/linux/ath9k_platform.h
@@ -29,6 +29,7 @@ struct ath9k_platform_data {
u32 gpio_mask;
u32 gpio_val;
+ bool endian_check;
bool is_clk_25mhz;
int (*get_mac_revision)(void);
int (*external_reset)(void);