diff options
author | Pooja Kumari <kumarip@codeaurora.org> | 2019-10-10 19:40:22 +0530 |
---|---|---|
committer | Pooja Kumari <kumarip@codeaurora.org> | 2019-10-10 19:40:22 +0530 |
commit | 0f97d2e6a7fe55255ea99d7afa692fc1fa3a32c1 (patch) | |
tree | 15118a26e533adb0992e6c16072d7a34e9d30c82 | |
parent | ea48515e61f4837223ac8546c34939b0b0e13311 (diff) | |
download | android_vendor_qcom_opensource_data-ipa-cfg-mgr-0f97d2e6a7fe55255ea99d7afa692fc1fa3a32c1.tar.gz android_vendor_qcom_opensource_data-ipa-cfg-mgr-0f97d2e6a7fe55255ea99d7afa692fc1fa3a32c1.tar.bz2 android_vendor_qcom_opensource_data-ipa-cfg-mgr-0f97d2e6a7fe55255ea99d7afa692fc1fa3a32c1.zip |
ipacm: send tether_client struct in ioctl to set tether client
Currently address of tether_client structure is passed with
WAN_IOC_SET_TETHER_CLIENT_PIPE ioctl. So IPA driver has not
received proper value of ul_src_pipe_len and tether client
pipe is not set. Pass tether_client var with ioctl to
IPA driver as tether_client is pointer type variable.
Change-Id: I8697dd7a003278e05c27a580529e1421ae3a6448
-rw-r--r-- | ipacm/src/IPACM_Lan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Lan.cpp b/ipacm/src/IPACM_Lan.cpp index fff1783..fa6dfb9 100644 --- a/ipacm/src/IPACM_Lan.cpp +++ b/ipacm/src/IPACM_Lan.cpp @@ -4719,7 +4719,7 @@ int IPACM_Lan::set_tether_client(wan_ioctl_set_tether_client_pipe *tether_client } } - ret = ioctl(fd_wwan_ioctl, WAN_IOC_SET_TETHER_CLIENT_PIPE, &tether_client); + ret = ioctl(fd_wwan_ioctl, WAN_IOC_SET_TETHER_CLIENT_PIPE, tether_client); if(ret != 0) { IPACMERR("Failed set tether-client-pipe %p with ret %d\n ", &tether_client, ret); |