Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 205cffc5 authored by Hemant Kumar's avatar Hemant Kumar Committed by Stephen Boyd
Browse files

net: rmnet_usb_ctrl: Fix bug in handling interface disconnect



RMNET control driver sets the device interface pointer to NULL
during disconnect and then unlinks the tx URBs. This causes the
tx completion handler to get called and access the device interface
pointer which is already NULL. Fix the issue by adding a flag
which keeps track of device disconnection and do not set device
interface pointer to NULL.

CRs-Fixed: 373617
Change-Id: I4991c1f437f1ce031c634109aca10e170ca6290b
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent d3d5d821
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment