summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-06 01:34:27 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-06 23:18:16 +0200
commit2945ed6e800b72701e3e9a8685a9972632832e7c (patch)
treef3a65ec8333c42aeba43b6958162df873443c323
parent1127bbb3756fe6909d166938ea4e5a5f12be1f52 (diff)
downloadhardware_replicant_libsamsung-ril-2945ed6e800b72701e3e9a8685a9972632832e7c.tar.gz
hardware_replicant_libsamsung-ril-2945ed6e800b72701e3e9a8685a9972632832e7c.tar.bz2
hardware_replicant_libsamsung-ril-2945ed6e800b72701e3e9a8685a9972632832e7c.zip
Adjust to libsamsung-ipc IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT typo fix
In libsamsung-ipc, IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT was changed to IPC_GPRS_FAIL_CAUSE_UNKNOWN_PDP_CONTEXT as the former seems to be a typo. This change was made by the following libsamsung-ipc commit: 82c1658cf5e3daac8aae73776235c4ca91d2f0e4 82c1658 Fix IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT typo As IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT was used in libsamsung-ril too, we need to do the change here too, as otherwise we will end with compilation errors like that while compiling Replicant 6.0: target thumb C: libsamsung-ril <= hardware/replicant/libsamsung-ril/rfs.c hardware/replicant/libsamsung-ril/data.c: In function 'ipc2ril_gprs_fail_cause': hardware/replicant/libsamsung-ril/data.c:62:8: error: 'IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT' undeclared (first use in this function) case IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT: ^ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 5fedf92..cb612a9 100644
--- a/data.c
+++ b/data.c
@@ -59,7 +59,7 @@ int ipc2ril_gprs_fail_cause(unsigned char fail_cause)
return PDP_FAIL_NSAPI_IN_USE;
case IPC_GPRS_FAIL_CAUSE_NETWORK_FAILURE:
return PDP_FAIL_DATA_REGISTRATION_FAIL;
- case IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT:
+ case IPC_GPRS_FAIL_CAUSE_UNKNOWN_PDP_CONTEXT:
case IPC_GPRS_FAIL_CAUSE_INVALID_MSG:
case IPC_GPRS_FAIL_CAUSE_PROTOCOL_ERROR:
return PDP_FAIL_PROTOCOL_ERRORS;