ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 30433
This commit is contained in:
parent
7298ef2456
commit
59b474732c
1 changed files with 2 additions and 6 deletions
|
@ -91,7 +91,8 @@ ramips_setup_macs()
|
|||
;;
|
||||
|
||||
esr-9753 | \
|
||||
nbg-419n)
|
||||
nbg-419n | \
|
||||
wcr-150gn)
|
||||
lan_mac=$(ramips_get_mac_binary factory 4)
|
||||
wan_mac=$(ramips_get_mac_binary factory 40)
|
||||
;;
|
||||
|
@ -106,11 +107,6 @@ ramips_setup_macs()
|
|||
wan_mac=$(ramips_get_mac_binary factory 46)
|
||||
;;
|
||||
|
||||
wcr-150gn)
|
||||
lan_mac=$(ramips_get_mac_binary factory 4)
|
||||
wan_mac=$(ramips_get_mac_binary factory 40)
|
||||
;;
|
||||
|
||||
wl341v3)
|
||||
lan_mac=$(ramips_get_mac_binary board-nvram 65440)
|
||||
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
|
||||
|
|
Loading…
Reference in a new issue