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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user