From cf1909a024a7db28a43dd799dea09358d0ecee87 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 8 Dec 2024 15:10:51 +0100 Subject: [PATCH] wifi-scripts: fix channels array property parsing in ucode script Since the channels array can contain ranges, its type needs to be string, not number. Signed-off-by: Felix Fietkau --- .../files-ucode/usr/share/schema/wireless.wifi-device.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json index 65d33989fe..77b7adada8 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json @@ -115,7 +115,7 @@ "description": "Use specific channels, when channel is in “auto” mode. This option allows hostapd to select one of the provided channels when a channel should be automatically selected. Channels can be provided as range using hyphen ('-') or individual channels can be specified by space (' ') separated values", "type": "array", "items": { - "type": "number" + "type": "string" } }, "country": { -- 2.30.2