diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-06 01:34:27 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-06 23:18:16 +0200 |
| commit | 2945ed6e800b72701e3e9a8685a9972632832e7c (patch) | |
| tree | f3a65ec8333c42aeba43b6958162df873443c323 | |
| parent | 1127bbb3756fe6909d166938ea4e5a5f12be1f52 (diff) | |
| download | hardware_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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
