Re: [PATCH] ti: wlcore: fix error return code of wl1271_cmd_build_ps_poll()

From: Kalle Valo
Date: Sun Apr 18 2021 - 01:56:06 EST


Jia-Ju Bai <baijiaju1990@xxxxxxxxx> wrote:

> When ieee80211_pspoll_get() returns NULL to skb, no error return code of
> wl1271_cmd_build_ps_poll() is assigned.
> To fix this bug, ret is assigned with -ENOMEM in this case.
>
> Reported-by: TOTE Robot <oslab@xxxxxxxxxxxxxxx>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@xxxxxxxxx>

Someone needs to review this.

Patch set to Changes Requested.

--
https://patchwork.kernel.org/project/linux-wireless/patch/20210307082906.20950-1-baijiaju1990@xxxxxxxxx/

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