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>
This commit is contained in:
Felix Fietkau 2024-12-08 15:10:51 +01:00
parent ed34e337a9
commit cf1909a024

View File

@ -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": {