aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-12-23 00:36:11 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-22 17:53:13 +0100
commitea5cf7c0dd98db62de1b368096f903177636b6e7 (patch)
treecbf45a1fced3ba93742fbeb469fa119262a4e912 /target/linux/ramips/mt76x8
parent74e9f95c79dc574c2407ed798f37c9a4c989e55d (diff)
downloadupstream-ea5cf7c0dd98db62de1b368096f903177636b6e7.tar.gz
upstream-ea5cf7c0dd98db62de1b368096f903177636b6e7.tar.bz2
upstream-ea5cf7c0dd98db62de1b368096f903177636b6e7.zip
ramips: fix MAC address setup for Xiaomi MiWiFi Nano
MAC addresses are stored in factory partition at: 0x0004: WiFi 2.4GHz (label_mac +1) 0x0028: LAN, WAN (label_mac) Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/02_network3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index aeaf296984..df795e5a36 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -171,8 +171,7 @@ ramips_setup_macs()
rakwireless,rak633|\
unielec,u7628-01-16m|\
wavlink,wl-wn575a3|\
- wiznet,wizfi630s|\
- xiaomi,miwifi-nano)
+ wiznet,wizfi630s)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x28)" 1)
;;
skylab,skw92a|\