Skip to content
Commit 8180bd47 authored by Mathy Vanhoef's avatar Mathy Vanhoef Committed by John W. Linville
Browse files

brcmfmac: kill URB when request timed out



Kill the submitted URB in brcmf_usb_dl_cmd if the request timed out. This
assures the URB is never submitted twice. It also prevents a possible
use-after-free of the URB transfer buffer if a timeout occurs.

Signed-off-by: default avatarMathy Vanhoef <vanhoefm@gmail.com>
Acked-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent daad1660
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment