Commit 7e70c22f authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: gadget: u_ether: Fix NULL pointer derefernce crash



port->port_usb can be NULL if USB cable is disconnected when
net device is trying to transfer data which is causing device
to crash. Hence add changes to eliminate need of accessing
port->port_usb to see multi_xfer_pkt value.

CRs-Fixed: 452642
Change-Id: I60bd2302371238707e951c77912b155d75dc8570
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 89c52809
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment