aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network8
1 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index ad6d6cd5fe..85105c870b 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -258,17 +258,15 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_binary factory 0x2e)
label_mac=$wan_mac
;;
- xiaomi,mir3g)
+ xiaomi,mir3g|\
+ xiaomi,mir3p)
lan_mac=$(mtd_get_mac_binary factory 0xe006)
+ label_mac=$lan_mac
;;
xiaomi,mir3g-v2)
wan_mac=$(mtd_get_mac_binary factory 0xe006)
label_mac=$wan_mac
;;
- xiaomi,mir3p)
- lan_mac=$(mtd_get_mac_binary factory 0xe006)
- label_mac=$lan_mac
- ;;
zbtlink,zbt-we1326)
wan_mac=$(mtd_get_mac_binary factory 0xe006)
label_mac=$(mtd_get_mac_binary factory 0x4)