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

Commit 80fa1579 authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: gadget: f_mbim: Handle remote_wakeup with RESUME correctly



On suspend MBIM driver performs bam_data disconnect if host
didn't enable remote wakeup and connect on resume. But, if
host cleared remote_wakeup by the time driver resume is
invoked, we end up doing bam_data connect even though it was
not disconnected on suspend. This leads to crashes in controller
driver as cached ep.desc is NULL while trying to enable already
enabled EP.

Change-Id: I247b9ed31aebce41fadd272e18ccd8690af6de9d
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent a660e4d0
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