Messages in this thread | | | Subject | Re: [PATCH] ti: wlcore: fix error return code of wl1271_cmd_build_ps_poll() | From | Kalle Valo <> | Date | Sun, 18 Apr 2021 05:55:55 +0000 (UTC) |
| |
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.
-- https://patchwork.kernel.org/project/linux-wireless/patch/20210307082906.20950-1-baijiaju1990@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |