realtek: fix filter_port_list_reverse calls
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 13 Apr 2024 10:15:59 +0000 (13:15 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Sat, 13 Apr 2024 10:22:11 +0000 (13:22 +0300)
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 <stijn@linux-ipv6.be>
Acked-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/base-files/etc/board.d/02_network

index fe3027879cd0e2aa3e38a90d87afe0da29cb1549..35c79cffa24baf7a7f56c792d91c30723462560b 100644 (file)
@@ -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")"