mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 01:19: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:
parent
59033bc705
commit
8285318228
@ -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 += 20) {
|
||||
for (i = 5955; i <= 7115; i += 20) {
|
||||
assert(band_freq_to_channel(i, &band) != 0);
|
||||
assert(band == BAND_FREQ_6_GHZ);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user