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
@@ -26,6 +26,8 @@ ramips_setup_interfaces()
|
||||
;;
|
||||
buffalo,wli-tx4-ag300n|\
|
||||
dlink,dap-1522-a1)
|
||||
ucidef_add_switch "switch0"
|
||||
ucidef_add_switch_attr "switch0" "enable" "false"
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user