mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +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