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

usb: mdm_bridge: Make rx_done queue length check independent of rx throttle



rx_done queue length was checked only when rx throttle condition was true.
rx throttle condition is asynchronous because of which sometimes queue
length value becomes much larger than stop_submit_urb_limit when rx
throttled condition is false. Hence check the queue length irrespective of
the rx throttle condition before submitting the rx urb. Also increase the
stop_submit_urb_limit to same as the flow control enable threshold value
in downlink direction.

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