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

Kalle Valo
2021-04-18T05:56:01Z

Jia-Ju Bai <baijiaju1990@gmail.com> 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@tsinghua.edu.cn>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>

Someone needs to review this.

Patch set to Changes Requested.

--