From 8285318228b88cbb7ab32c3ef62eb6cdf76e273a Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 19 Sep 2023 09:59:23 -0700 Subject: [PATCH] unit: include frequency 7115 in test-band The test was not including the last frequency in the 6ghz spectrum. --- unit/test-band.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/test-band.c b/unit/test-band.c index caddbcdd..e27531f7 100644 --- a/unit/test-band.c +++ b/unit/test-band.c @@ -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); }