msm: ipa: fix the return on pipe setup when rmnet_ctl disabled

return 0 instead of -ENXIO when rmnet_ctl disabled.
If we give error return to egress ioctl, ingress ioctl
is not even getting called anymore.

Change-Id: I948daa6ccb46a87b36eb3bc54c0f62d67546624c
This commit is contained in:
Bojun Pan
2020-11-10 20:49:58 -08:00
parent 310ed2e912
commit e83d8c37ae

View File

@@ -209,7 +209,7 @@ int ipa3_setup_apps_low_lat_cons_pipe(void)
if (!ipa3_ctx->rmnet_ctl_enable) {
IPAERR("low lat pipe is disabled");
return -ENXIO;
return 0;
}
ep_idx = ipa_get_ep_mapping(
IPA_CLIENT_APPS_WAN_LOW_LAT_CONS);
@@ -293,7 +293,7 @@ int ipa3_setup_apps_low_lat_prod_pipe(void)
if (!ipa3_ctx->rmnet_ctl_enable) {
IPAERR("Low lat pipe is disabled");
return -ENXIO;
return 0;
}
ep_idx = ipa_get_ep_mapping(
IPA_CLIENT_APPS_WAN_LOW_LAT_PROD);