OSDN Git Service

msm: ipa3: drain UL data for ECM/RNDIS tethering
authorSkylar Chang <chiaweic@codeaurora.org>
Thu, 5 May 2016 17:08:09 +0000 (10:08 -0700)
committerJeevan Shriram <jshriram@codeaurora.org>
Tue, 10 May 2016 01:35:27 +0000 (18:35 -0700)
commit7367915c0bf89ce77187a1d850e7ce6f6cae9281
tree0d6a82d4cedd2976dfd8fef2b6bf768151da6795
parent235529c1d733301f5a56513b959c4c26447821e4
msm: ipa3: drain UL data for ECM/RNDIS tethering

In some cases modem will delay USB uplink pipe
for flow control. This will happen regardless of
tethering protocol. This change sends a QMI message
to modem to remove the delay on USB pipe in case
of USB cable disconnect.

CRs-Fixed: 1009199
Change-Id: I42cd716dcb87b814256a81418fecdff020f37d9d
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
drivers/platform/msm/ipa/ipa_clients/ipa_usb.c
drivers/platform/msm/ipa/ipa_v3/ipa_client.c