Re: [PATCH v5] wifi: mt76: mt7915: add wds support when wed is enabled

From: Kalle Valo
Date: Sun Aug 04 2024 - 05:56:21 EST


Shengyu Qu <wiagn233@xxxxxxxxxxx> writes:

> This error report is a false warning. "struct mtk_wed_device" needs
> "CONFIG_NET_MEDIATEK_SOC_WED" to be defined.

I didn't investigate anything but based on your description that sounds
wrong. The code should should not be compiled if it depends on
CONFIG_NET_MEDIATEK_SOC_WED but that's not set. We have zero rule for
compilation errors or warnings.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches