mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
wifi: brcm80211: handle params_v1 allocation failure
commit07d6983241upstream. Return -ENOMEM from brcmf_run_escan() if kzalloc() fails for v1 params. Fixes:398ce273d6("wifi: brcmfmac: cfg80211: Add support for scan params v2") Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com> Link: https://lore.kernel.org/r/20230802163430.1656-1-petrtesarik@huaweicloud.com Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f16e9bfb57
commit
8ae32cdfa5
1 changed files with 5 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue