Commit 184765b4 authored by Hemant Kumar's avatar Hemant Kumar Committed by Linux Build Service Account
Browse files

usb: mdm_bridge: Add rx URBs back to idle rx list if submit_rx_urb() fails



mdm_data bridge driver maintains a list of idle rx URBs. Instead of
immediately freeing the URB upon failure in submit_rx_urb(), which
would decrease the number of available requests, put it back in the idle
rx list to allow for later attempts.

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