diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index ded416ae98..b6c3ae42cb 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -587,6 +587,7 @@ ramips_setup_macs() buffalo,whr-g300n|\ buffalo,wsr-600dhp|\ glinet,gl-mt300n-v2|\ + xiaomi,miwifi-mini|\ zyxel,keenetic-start) # This empty case has to be kept for devices without any MAC address adjustments ;; @@ -721,9 +722,6 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_binary factory 0xe006) label_mac=$lan_mac ;; - xiaomi,miwifi-mini) - lan_mac=$(macaddr_setbit_la "$(cat /sys/class/net/eth0/address)") - ;; zbtlink,zbt-we1326) wan_mac=$(mtd_get_mac_binary factory 0xe006) label_mac=$(cat /sys/class/ieee80211/phy0/macaddress) |