aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-20 21:58:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-20 21:58:03 +0000
commit192dbdd2f5d152a7e1e94c70f28f1a5b3d5be3a4 (patch)
treea4798c77c22fe7e2b90837ad27aa9ff993787f6f /target/linux/generic
parentab127b7e112b99463a89042e6b818efbaf3f16be (diff)
downloadupstream-192dbdd2f5d152a7e1e94c70f28f1a5b3d5be3a4.tar.gz
upstream-192dbdd2f5d152a7e1e94c70f28f1a5b3d5be3a4.tar.bz2
upstream-192dbdd2f5d152a7e1e94c70f28f1a5b3d5be3a4.zip
lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31835 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/include/linux/rt2x00_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/rt2x00_platform.h b/target/linux/generic/files/include/linux/rt2x00_platform.h
index b4c7768739..e10377e21b 100644
--- a/target/linux/generic/files/include/linux/rt2x00_platform.h
+++ b/target/linux/generic/files/include/linux/rt2x00_platform.h
@@ -14,6 +14,7 @@
struct rt2x00_platform_data {
char *eeprom_file_name;
+ const u8 *mac_address;
int disable_2ghz;
int disable_5ghz;