mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:19:34 +01:00
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:
parent
e70a241f34
commit
cfdfe9c54c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user