unit: fix test-band for 6ghz frequencies

The 6GHz test was not incrementing the frequencies properly which
was resulting in invalid frequencies, but since the conversion
API was never linked to E-4 the test was still passing.
This commit is contained in:
James Prestwood 2022-12-29 16:24:26 -08:00 committed by Denis Kenzior
parent e70a241f34
commit cfdfe9c54c
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ static void test_6ghz_freqs(const void *data)
uint32_t i;
enum band_freq band;
for (i = 5955; i < 7115; i += 5) {
for (i = 5955; i < 7115; i += 20) {
assert(band_freq_to_channel(i, &band) != 0);
assert(band == BAND_FREQ_6_GHZ);
}