]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
ACS: Fix typo in bw_40 frequency array
authorMichael-CY Lee <michael-cy.lee@mediatek.com>
Tue, 5 Sep 2023 01:43:25 +0000 (09:43 +0800)
committerJouni Malinen <j@w1.fi>
Sat, 28 Oct 2023 10:12:38 +0000 (13:12 +0300)
The range for the 5 GHz channel 118 was encoded with an incorrect
channel number.

Fixes: ed8e13decc71 (ACS: Extract bw40/80/160 freqs out of acs_usable_bwXXX_chan())
Signed-off-by: Michael Lee <michael-cy.lee@mediatek.com>
src/ap/acs.c

index 8b5760918db58e9e9fee02dd8e0d3940f7868b5d..e3cfe1df8f27f65a7ef8df14399882cc37067a0b 100644 (file)
@@ -256,7 +256,7 @@ struct bw_item {
 static const struct bw_item bw_40[] = {
        { 5180, 5200, 38 }, { 5220, 5240, 46 }, { 5260, 5280, 54 },
        { 5300, 5320, 62 }, { 5500, 5520, 102 }, { 5540, 5560, 110 },
-       { 5580, 5600, 110 }, { 5620, 5640, 126}, { 5660, 5680, 134 },
+       { 5580, 5600, 118 }, { 5620, 5640, 126 }, { 5660, 5680, 134 },
        { 5700, 5720, 142 }, { 5745, 5765, 151 }, { 5785, 5805, 159 },
        { 5825, 5845, 167 }, { 5865, 5885, 175 },
        { 5955, 5975, 3 }, { 5995, 6015, 11 }, { 6035, 6055, 19 },