From: Sander Vanheule <sander@svanheule.net>
Date: Thu, 2 Jan 2025 08:31:44 +0000 (+0100)
Subject: realtek: drop extraneous ')' in 02_network
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d5f01971f728c6eb9ec7745c0040bd673c824add;p=openwrt%2Fstaging%2Fsvanheule.git

realtek: drop extraneous ')' in 02_network

The extraneous closing parenthesis inside the case matching breaks
syntax of the network initialization script 02_network.

/bin/board_detect: /etc/board.d/02_network:
    line 40: syntax error: unexpected newline (expecting ")")

Remove this character so board init is functional again.

Fixes: c8ea1aa970bf ("realtek: add support for HPE 1920-24G-PoE-370w")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit a3391d871d3f14f5de2081e23eda08986abc2b9b)
---

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 a73944107a..12fb33d85e 100644
--- a/target/linux/realtek/base-files/etc/board.d/02_network
+++ b/target/linux/realtek/base-files/etc/board.d/02_network
@@ -36,7 +36,7 @@ hpe,1920-8g-poe-65w|\
 hpe,1920-8g-poe-180w|\
 hpe,1920-16g|\
 hpe,1920-24g|\
-hpe,1920-24g-poe-370w|\)
+hpe,1920-24g-poe-370w|\
 hpe,1920-48g|\
 hpe,1920-48g-poe)
 	label_mac=$(mtd_get_mac_binary factory 0x68)