]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: mt792x: fix a potential loading failure of the 6Ghz channel config from...
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Tue, 16 Jan 2024 02:48:55 +0000 (10:48 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:33 +0000 (18:19 -0400)
commit9d5d48d9fe34ac7bb5c5a47011a5c05759116a77
tree21d54e68b1dc7efa19352f10fa7659df9eef99a3
parentc7dd42fbebcfb02bef070fd48f774d6412d0b49d
wifi: mt76: mt792x: fix a potential loading failure of the 6Ghz channel config from ACPI

[ Upstream commit 07ce1d46372489d90f9cccebb3277d1af801c4b9 ]

In some case, the MTCL table will exist, but MTDS table will not.
So the SAR will init fail. This patch make MTCL and MTDS can exist
with no dependence.

Fixes: f965333e491e ("mt76: mt7921: introduce ACPI SAR support")
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Leon Yen <leon.yen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c