diff options
| author | Felix Fietkau | 2024-12-08 14:10:51 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2024-12-08 14:11:28 +0000 |
| commit | cf1909a024a7db28a43dd799dea09358d0ecee87 (patch) | |
| tree | bd5d15180c69ac1f4763b3f373072d268608cf87 | |
| parent | ed34e337a959919048e393f4b80d22aceffc3218 (diff) | |
| download | openwrt-cf1909a024a7db28a43dd799dea09358d0ecee87.tar.gz | |
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 <nbd@nbd.name>
| -rw-r--r-- | package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json | 2 |
1 files changed, 1 insertions, 1 deletions
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": { |