]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7921: fix wrong UNII-4 freq range check for the channel usage
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Tue, 6 Aug 2024 01:34:08 +0000 (09:34 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2024 11:01:55 +0000 (13:01 +0200)
commit723762a7a7e6fdb3cc6953f127a3fe9c5162beb7
treecdf4850527a43c8c34ff037f765a93dac78a6e72
parent862bf7cbd772c2bad570ef0c5b5556a1330656dd
wifi: mt76: mt7921: fix wrong UNII-4 freq range check for the channel usage

The check should start from 5845 to 5925, which includes
channels 169, 173, and 177.

Fixes: 09382d8f8641 ("wifi: mt76: mt7921: update the channel usage when the regd domain changed")
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20240806013408.17874-1-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/init.c