3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

unit: include frequency 7115 in test-band

The test was not including the last frequency in the 6ghz spectrum.
This commit is contained in:
James Prestwood 2023-09-19 09:59:23 -07:00 committed by Denis Kenzior
parent 59033bc705
commit 8285318228

View File

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