Commit fe2ec546 authored by Hemant Kumar's avatar Hemant Kumar Committed by Jack Pham
Browse files

net: usb: Prevent suspend if response available notification received



cherry picked from 148c5323330bf41890392fe23e8983612ecb3580

There is a possibility of interface suspend after receiving response
available notification from mdm device. In this case driver unlinks
the rx urb and do not send GET_ENCAPSULATED_RESPONSE setup packet to
mdm. Response to mdm gets delayed up until interface resumes and mdm
sends response available notification again. Hence resume interface
after receiving response available notification if it is suspended.
Allow interface suspend only after completing
GET_ENCAPSULATED_RESPONSE.

Change-Id: Ib52e64b1cc7b6d5edfe3ada9651ec56526cf4852
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 31bb62db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment