From: Stijn Tintel Date: Sat, 13 Apr 2024 10:15:59 +0000 (+0300) Subject: realtek: fix filter_port_list_reverse calls X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=291efaf765dd533b28b7f9444cdaeaa2198458ef;p=openwrt%2Fopenwrt.git realtek: fix filter_port_list_reverse calls The function introduced in commit 7cbfe5654d6e is named filter_port_list_reverse, not filter_port_list_reversed. Fixes the following error on hpe,1920-8g-poe-65w and hpe,1920-8g-poe-180w. /bin/board_detect: /etc/board.d/02_network: line 84: filter_port_list_reversed: not found Fixes: 7cbfe5654d6e ("realtek: move port filtering out of uci_set_poe()") Signed-off-by: Stijn Tintel Acked-by: Sander Vanheule --- diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/linux/realtek/base-files/etc/board.d/02_network index fe3027879c..35c79cffa2 100644 --- a/target/linux/realtek/base-files/etc/board.d/02_network +++ b/target/linux/realtek/base-files/etc/board.d/02_network @@ -84,10 +84,10 @@ engenius,ews2910p) ucidef_set_poe 60 "$(filter_port_list "$lan_list" "lan9 lan10")" ;; hpe,1920-8g-poe-65w) - ucidef_set_poe 65 "$(filter_port_list_reversed "$lan_list" "lan9 lan10")" + ucidef_set_poe 65 "$(filter_port_list_reverse "$lan_list" "lan9 lan10")" ;; hpe,1920-8g-poe-180w) - ucidef_set_poe 180 "$(filter_port_list_reversed "$lan_list" "lan9 lan10")" + ucidef_set_poe 180 "$(filter_port_list_reverse "$lan_list" "lan9 lan10")" ;; netgear,gs110tpp-v1) ucidef_set_poe 130 "$(filter_port_list "$lan_list" "lan9 lan10")"