On 10.03.25 11:33, Shengyu Qu wrote:
if (IS_ENABLED(CONFIG_NET_MEDIATEK_SOC_WED) ... ?I did a search in code about this, seems current MT76 code is using a mix of IS_ENABLED and ifdef. And this file already have a ifdef implementation. I prefer keep it as is and use another patch to convert the whole mt76 driver.
The driver uses #ifdef where it relies on struct members that are also #ifdef'd out, and using IS_ENABLED would lead do build failures.
- Felix