diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2024-04-13 13:15:59 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2024-04-13 13:22:11 +0300 |
commit | 291efaf765dd533b28b7f9444cdaeaa2198458ef (patch) | |
tree | edde0ab2a6eb411e26b63d5264663dceda7888d2 /target | |
parent | 166ed4f50a75aa51c249bea9ba1884203eeb1c87 (diff) | |
download | openwrt-291efaf765dd533b28b7f9444cdaeaa2198458ef.tar.gz openwrt-291efaf765dd533b28b7f9444cdaeaa2198458ef.tar.bz2 openwrt-291efaf765dd533b28b7f9444cdaeaa2198458ef.zip |
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 <stijn@linux-ipv6.be>
Acked-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/realtek/base-files/etc/board.d/02_network | 4 |
1 files changed, 2 insertions, 2 deletions
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")" |