From e2dc3df9d7d8166f95e6be7cb246df43372b6e81 Mon Sep 17 00:00:00 2001 From: Markus Gothe <markus.gothe@genexis.eu> Date: Sat, 7 Dec 2024 12:00:55 +0100 Subject: [PATCH] Revert "econet: switch.sh: if wan port is ae_wan, set wan_port to 0" This reverts commit 442b82df674995850a959ce908d637efd4a64c37. (cherry picked from commit 83e9ba1e421eafebcb486de1d852afdb9cc60452) --- airoha/base-files/lib/network/switch.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/airoha/base-files/lib/network/switch.sh b/airoha/base-files/lib/network/switch.sh index 3a966bda6..788e5954f 100644 --- a/airoha/base-files/lib/network/switch.sh +++ b/airoha/base-files/lib/network/switch.sh @@ -12,9 +12,6 @@ tc3162_eth_portmap() { eth0.[0-9]) wan_port=${WANDEV:5} ;; - ae_wan) - wan_port=0 - ;; esac if [ "$WANDEV" == "$(cat /sys/module/eth/parameters/wan_itf)" ]; then -- GitLab