]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: mt7921: fix 6GHz regulatory update on connection
authorMichael Lo <michael.lo@mediatek.com>
Wed, 11 Feb 2026 09:50:25 +0000 (17:50 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Mar 2026 15:49:30 +0000 (15:49 +0000)
commit3dc0c40d7806c72cfe88cf4e1e2650c1673f9db4
tree57fd4666eb0c60d5d56fa750702cfb4e61dd73e8
parent947d63d8cd3b03c7be16875ca90273edbdbe7ce5
wifi: mt76: mt7921: fix 6GHz regulatory update on connection

Call mt7921_regd_update() instead of mt7921_mcu_set_clc() when setting
the 6GHz power type after connection, so that regulatory limits and SAR
power are also applied.

Fixes: 51ba0e3a15eb ("wifi: mt76: mt7921: add 6GHz power type support for clc")
Signed-off-by: Michael Lo <michael.lo@mediatek.com>
Link: https://patch.msgid.link/20260211095025.2415624-1-leon.yen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/main.c