forked from Ivasoft/openwrt
ramips: explicitly disable built-in switch for lan-only devices
Commit 8f6334eb94 ("ramips: explicitly disable built-in switch when needed")
did not fix rt288x and rt3883 devices. This patch deals with them.
While at it, consolidate duplicate cases in interface setup.
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
This commit is contained in:
committed by
Adrian Schmutzler
parent
1553f58a98
commit
a1693bf626
@@ -27,6 +27,8 @@ ramips_setup_interfaces()
|
||||
;;
|
||||
loewe,wmdr-143n|\
|
||||
omnima,hpm)
|
||||
ucidef_add_switch "switch0"
|
||||
ucidef_add_switch_attr "switch0" "enable" "false"
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
samsung,cy-swr1100)
|
||||
|
||||
Reference in New Issue
Block a user