summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Makefile
diff options
context:
space:
mode:
authorXerox Lin <xerox_lin@htc.com>2016-06-29 11:04:21 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-11 14:09:48 +0200
commit207707d8fd48ebc977fb2b2794004a020e1ee08e (patch)
treeda09a2fdb3e8a15295a492ea8739f2cbe8d2b970 /drivers/watchdog/Makefile
parentusb: udc: core: fix error handling (diff)
downloadlinux-207707d8fd48ebc977fb2b2794004a020e1ee08e.tar.xz
linux-207707d8fd48ebc977fb2b2794004a020e1ee08e.zip
usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG
When rndis data transfer is in progress, some Windows7 Host PC is not sending the GET_ENCAPSULATED_RESPONSE command for receiving the response for the previous SEND_ENCAPSULATED_COMMAND processed. The rndis function driver appends each response for the SEND_ENCAPSULATED_COMMAND in a queue. As the above process got corrupted, the Host sends a REMOTE_NDIS_RESET_MSG command to do a soft-reset. As the rndis response queue is not freed, the previous response is sent as a part of this REMOTE_NDIS_RESET_MSG's reset response and the Host block any more Rndis transfers. Hence free the rndis response queue as a part of this soft-reset so that the correct response for REMOTE_NDIS_RESET_MSG is sent properly during the response command. Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org> Signed-off-by: Xerox Lin <xerox_lin@htc.com> [AmitP: Cherry-picked this patch and folded other relevant fixes from Android common kernel android-4.4] Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/watchdog/Makefile')
0 files changed, 0 insertions, 0 deletions