Fix the 80 MHz base-frequency table used by get_cf1(). Replace the incorrect 6195 MHz entry with 6915 MHz in bw80[] so center_freq1 is computed correctly for 6 GHz 80 MHz channels. Signed-off-by: Hariharan Basuthkar --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 06c3347..e6d42e5 100644 --- a/util.c +++ b/util.c @@ -2097,7 +2097,7 @@ int get_cf1(const struct chanmode *chanmode, unsigned long freq) unsigned int bw80[] = { 5180, 5260, 5500, 5580, 5660, 5745, 5955, 6035, 6115, 6195, 6275, 6355, 6435, 6515, 6595, 6675, 6755, 6835, - 6195, 6995 }; + 6915, 6995 }; unsigned int bw160[] = { 5180, 5500, 5955, 6115, 6275, 6435, 6595, 6755, 6915 }; /* based on 11be D2 E.1 Country information and operating classes */ base-commit: b9f9dda5898bd03ae679922e424097f556351790 -- 2.34.1