diff options
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index b3de1f39cf..30a10423ad 100644 --- a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -141,8 +141,7 @@ case "$board" in ;; raisecom,msg1500-x-00) [ "$PHYNBR" = "0" ] && \ - macaddr_setbit_la "$(mtd_get_mac_ascii Config protest_lan_mac)" \ - > /sys${DEVPATH}/macaddress + macaddr_setbit_la "$(get_mac_label)" > /sys${DEVPATH}/macaddress ;; snr,snr-cpe-me2-sfp) hw_mac_addr="$(mtd_get_mac_binary factory 0x8004)" |