aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorThomas Nixon <tom@tomn.co.uk>2021-06-26 13:05:16 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-07-25 13:52:38 +0200
commitcdb5acac20a2c68d82db380ca65a6894b07416fb (patch)
treebe500437c1d0aa78fd4c1a7f4e7134dfe9f571e5 /target
parentad712c71cea3b26d8a7c53200c742181d1d040e7 (diff)
downloadupstream-cdb5acac20a2c68d82db380ca65a6894b07416fb.tar.gz
upstream-cdb5acac20a2c68d82db380ca65a6894b07416fb.tar.bz2
upstream-cdb5acac20a2c68d82db380ca65a6894b07416fb.zip
Revert "realtek: Fix failsafe mode"
This reverts commit b7ee0786b56d1088c195fe7c1cdb1ad7d20c9245. With the previous commit "realtek: remove rtl83xx vlan 1 special cases" this is no longer required. Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
Diffstat (limited to 'target')
-rw-r--r--target/linux/realtek/base-files/lib/preinit/05_set_preinit_iface_realtek13
-rw-r--r--target/linux/realtek/base-files/lib/preinit/98_remove_preinit_realtek6
2 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/realtek/base-files/lib/preinit/05_set_preinit_iface_realtek b/target/linux/realtek/base-files/lib/preinit/05_set_preinit_iface_realtek
deleted file mode 100644
index e2a7cf5a69..0000000000
--- a/target/linux/realtek/base-files/lib/preinit/05_set_preinit_iface_realtek
+++ /dev/null
@@ -1,13 +0,0 @@
-set_preinit_iface() {
-
- # Create a switch on lan1 to configure the VLAN 1.
- # Without configuring VLAN ID 1 RTL8380 - RTL9300 will not
- # forward packets.
- ip link add name switch type bridge vlan_filtering 1
- ip link set dev lan1 master switch
- ip link set lan1 up
-
- pi_ifname=switch
-}
-
-boot_hook_add preinit_main set_preinit_iface
diff --git a/target/linux/realtek/base-files/lib/preinit/98_remove_preinit_realtek b/target/linux/realtek/base-files/lib/preinit/98_remove_preinit_realtek
deleted file mode 100644
index dc5fdb059b..0000000000
--- a/target/linux/realtek/base-files/lib/preinit/98_remove_preinit_realtek
+++ /dev/null
@@ -1,6 +0,0 @@
-remove_switch() {
- # delete switch created in 05_set_preinit_iface_realtek again
- ip link del name switch
-}
-
-boot_hook_add preinit_main remove_switch