diff options
author | Ghanim Fodi <gfodi@codeaurora.org> | 2016-08-30 19:04:31 +0300 |
---|---|---|
committer | Ghanim Fodi <gfodi@codeaurora.org> | 2016-08-30 19:10:16 +0300 |
commit | a1e8c020b5429d0a54b34f20f78156f3f76d8316 (patch) | |
tree | 54dde0200bb3aabdc87bf6d22b0b6b72d84da32e | |
parent | 166af733db5dd13712fffc3cf6e0352413909fed (diff) |
msm: ipa3: Fix wrong parameter to xdci release function
xdci release function is called during xdci connect
failure cleanup. A bug passing the tethering protocol
to the function instead of the tethering type caused
it to fail and cease the cleanup operations.
Change-Id: I6337f93c13678c9256dfd46825f9a317cdaa0a1b
CRs-fixed: 1057013
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
-rw-r--r-- | drivers/platform/msm/ipa/ipa_clients/ipa_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/msm/ipa/ipa_clients/ipa_usb.c b/drivers/platform/msm/ipa/ipa_clients/ipa_usb.c index 8e583203abda..838b78c1934d 100644 --- a/drivers/platform/msm/ipa/ipa_clients/ipa_usb.c +++ b/drivers/platform/msm/ipa/ipa_clients/ipa_usb.c @@ -2136,11 +2136,11 @@ int ipa_usb_xdci_connect(struct ipa_usb_xdci_chan_params *ul_chan_params, connect_fail: ipa3_usb_release_xdci_channel(dl_out_params->clnt_hdl, - dl_chan_params->teth_prot); + IPA3_USB_GET_TTYPE(dl_chan_params->teth_prot)); alloc_dl_chan_fail: if (connect_params->teth_prot != IPA_USB_DIAG) ipa3_usb_release_xdci_channel(ul_out_params->clnt_hdl, - ul_chan_params->teth_prot); + IPA3_USB_GET_TTYPE(ul_chan_params->teth_prot)); bad_params: mutex_unlock(&ipa3_usb_ctx->general_mutex); return result; |