mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Fix registrar band for 6GHz
This commit is contained in:
parent
87ae46df8b
commit
cd524ecb14
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ static int get_IEEE1905AL_RegistrarFreqBand(char *refparam, struct dmctx *ctx, v
|
|||
|
||||
list_bands[0] = 0;
|
||||
dmjson_foreach_value_in_array(res, registrar_band, band, idx, 1, "registrar_band") {
|
||||
pos += snprintf(&list_bands[pos], sizeof(list_bands) - pos, "802.11 %s GHz,", (*band == '2') ? "2.4" : (*band == '5') ? "5" : "60");
|
||||
pos += snprintf(&list_bands[pos], sizeof(list_bands) - pos, "802.11 %s GHz,", (*band == '2') ? "2.4" : band);
|
||||
}
|
||||
|
||||
if (pos)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue