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

Commit 564e6be5 authored by Tarun Gupta's avatar Tarun Gupta Committed by Gerrit - the friendly Code Review server
Browse files

USB: rmnet: Handle case when response queue is empty



When there is no packet available in response queue on device side
and host requests for GET_ENCAPSULATED response on control endpoint,
frmnet_setup() API returns as -EOPNOTSUPP. This results into controller
driver stalling EP0 OUT endpoint which host side driver may not
expected. Hence to avoid this stalling of EP0 OUT endpoint returns
zero instead of -EOPNOTSUPP from frment_setup() API.

CRs-Fixed: 782966
Change-Id: I82fb30a7113ad61212d47835318701badadb289a
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
Signed-off-by: default avatarTarun Gupta <tarung@codeaurora.org>
parent 75d530af
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