Re: [PATCH] wifi: rtw89: coex: Fix wrong constant check of GPIO MUX signal
From: Ping-Ke Shih
Date: Tue Sep 01 2026 - 23:49:34 EST
Gongwei Li <13875017792@xxxxxxx> wrote:
> From: Gongwei Li <ligongwei@xxxxxxxxxx>
>
> In _fw_set_gpio(), the check for an invalid GPIO signal uses `sig == 0xff`.
> However, _get_gpiosig_for_ver() never returns 0xff. Both of its failure
> branches return BTC_DBG_NUM (defined as 32) when the requested signal is
> unsupported for the current firmware version.
>
> Check the result against BTC_DBG_NUM instead, the same as _show_gpio_dbg()
> already does.
>
> Fixes: 5c90259b9748 ("wifi: rtw89: coex: complete GPIO debug configuration handler")
> Signed-off-by: Gongwei Li <ligongwei@xxxxxxxxxx>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
fc17fd87d9f2 wifi: rtw89: coex: Fix wrong constant check of GPIO MUX signal
---
https://github.com/pkshih/rtw.git