From: Felix Fietkau Date: Sun, 8 Dec 2024 14:10:51 +0000 (+0100) Subject: wifi-scripts: fix channels array property parsing in ucode script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cf1909a024a7db28a43dd799dea09358d0ecee87;p=openwrt%2Fopenwrt.git 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 --- 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": {