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

Skip to content
Commit 20038eca authored by Mayank Rana's avatar Mayank Rana
Browse files

Revert "USB: rndis: Free the rndis response queue during rndis reset msg"



This change reverts commit c996cdd384f0 ("USB: rndis: Free the rndis
response queue during REMOTE_NDIS_RESET_MSG"). RNDIS host sends
GET_ENCAP_RESP for every RESP_AVAILABLE_NOTIFICATION from device. As
result if REMOTE_NDIS_RESET_MSG comes device rndis driver frees all the
previous responses and once notify request gets completed for previous
RNDIS request message it sends reset message completion resonse. When
response available request corresponding to RNDIS reset message gets
completed host RNDIS driver sends GET_ENCAP_RESP and device sends stall
because all RNDIS responses are freed due to RNDIS reset message.

Change-Id: I8a785d1ea8175c5c6aa08cda5cdd00cfd0c561b5
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent f842ad22
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