]> git.itanic.dy.fi Git - linux-stable/commit
wifi: plfxlc: check for allocation failure in plfxlc_usb_wreq_async()
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 30 Oct 2023 09:03:23 +0000 (12:03 +0300)
committerKalle Valo <kvalo@kernel.org>
Wed, 8 Nov 2023 18:04:53 +0000 (20:04 +0200)
commit40018a8fa9aa63ca5b26e803502138158fb0ff96
treedfbbd3b6158fcf9661f09edf004560b7b3d475d8
parentbec95598b24a42adba294994ab7a5d8db417cca5
wifi: plfxlc: check for allocation failure in plfxlc_usb_wreq_async()

Check for if the usb_alloc_urb() failed.

Fixes: 68d57a07bfe5 ("wireless: add plfxlc driver for pureLiFi X, XL, XC devices")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/e8d4a19a-f251-4101-a89b-607345e938cb@moroto.mountain
drivers/net/wireless/purelifi/plfxlc/usb.c