summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit/06_set_iface_mac')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index eade567c39..f1d641cd29 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -21,7 +21,8 @@ preinit_set_mac_address() {
;;
hw550-3g |\
nbg-419n |\
- omni-emb)
+ omni-emb |\
+ w502u)
mac=$(ramips_get_mac_binary factory 40)
ifconfig eth0 hw ether $mac 2>/dev/null
;;