mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-24 10:25:51 +08:00
ramips: fix MAC address assignment for rt1800, e7350
previous commitffa4b5283b
introduced a bug which broke the MAC address assignment for belkin,rt1800 and linksys,e7350. Fixes:ffa4b5283b
("ramips: add support for Mikrotik LtAP-2HnD") Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
This commit is contained in:
parent
b97e5ac785
commit
364550f9d9
@ -219,6 +219,7 @@ ramips_setup_macs()
|
||||
lan_mac=$(mtd_get_mac_ascii Config lan_hwaddr)
|
||||
wan_mac=$(mtd_get_mac_ascii Config wan_hwaddr)
|
||||
label_mac=$lan_mac
|
||||
;;
|
||||
mikrotik,ltap-2hnd)
|
||||
label_mac=$(cat "/sys/firmware/mikrotik/hard_config/mac_base")
|
||||
lan_mac=$label_mac
|
||||
|
Loading…
Reference in New Issue
Block a user