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

Skip to content
Commit 108e051c authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: gadget: Reset notify count to 0 upon completion for RNDIS



When host RNDIS sends reset message it skips response available
notification and directly sends get encap response. This causes
notify count to become > 1. As a result when notify completion happens
driver is queuing another notify response available when there is
no legitimate response to send from device side. Hence reset notify
count back to 0 after the completion of notify response, so that
next notification will only be sent when there is a send encap
command sent by host.

Change-Id: I242478408f8cb60fb5af5c741dbf2e8bf3e38af8
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 368fecd7
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