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:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment