RE: [PATCH] wifi: rtw89: debug: fix off-by-one in rtw89_ppdu_str()

From: Ping-Ke Shih

Date: Mon Aug 17 2026 - 20:26:20 EST


Linkai Gong <gonglinkai@xxxxxxxxxx> wrote:
> rtw89_ppdu_str() uses type > ARRAY_SIZE(), so type == ARRAY_SIZE() still
> indexes one past rtw89_ppdu_infos[]. Compare with >=, like
> rtw89_txcmd_str().
>
> Fixes: 419ed7f4a053 ("wifi: rtw89: debug: extend bb_info with TX status and PER")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Linkai Gong <gonglinkai@xxxxxxxxxx>

The same patch [1] was applied.

[1] https://lore.kernel.org/linux-wireless/aia25i0ds3B6QF6c@stanley.mountain/#t