summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-06 01:05:37 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-06 23:17:50 +0200
commit22430e685bffe942745485877b1d5404cf45f113 (patch)
tree9575c6228440640185380f6a0631f49257efa933
parente44a9cc5604eac3f83e355c7d8882e879b230c7e (diff)
downloadhardware_replicant_libsamsung-ril-22430e685bffe942745485877b1d5404cf45f113.tar.gz
hardware_replicant_libsamsung-ril-22430e685bffe942745485877b1d5404cf45f113.tar.bz2
hardware_replicant_libsamsung-ril-22430e685bffe942745485877b1d5404cf45f113.zip
Adjust to libsamsung-ipc IPC_SEC_LOCK_INFOMATION typo fix
In libsamsung-ipc, IPC_SEC_LOCK_INFOMATION was changed to IPC_SEC_LOCK_INFORMATION as the former seems to be a typo. This change was made by the following libsamsung-ipc commit: 8bd15e4e5bae4ffd6a164e7db719ebb308a9db60 8bd15e4 Fix IPC_SEC_LOCK_INFOMATION typo As IPC_SEC_LOCK_INFOMATION 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/samsung-ril.c hardware/replicant/libsamsung-ril/samsung-ril.c:124:14: error: 'IPC_SEC_LOCK_INFOMATION' undeclared here (not in a function) .command = IPC_SEC_LOCK_INFOMATION, Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
-rw-r--r--samsung-ril.c2
-rw-r--r--sim.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/samsung-ril.c b/samsung-ril.c
index 84e3074..41f9ff0 100644
--- a/samsung-ril.c
+++ b/samsung-ril.c
@@ -121,7 +121,7 @@ struct ipc_dispatch_handler ipc_fmt_dispatch_handlers[] = {
.handler = ipc_sec_sim_icc_type,
},
{
- .command = IPC_SEC_LOCK_INFOMATION,
+ .command = IPC_SEC_LOCK_INFORMATION,
.handler = ipc_sec_lock_infomation,
},
/* Network */
diff --git a/sim.c b/sim.c
index 8b89eef..e2e4b7b 100644
--- a/sim.c
+++ b/sim.c
@@ -398,7 +398,7 @@ int ipc_sec_callback(struct ipc_message *message)
goto error;
}
- rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFOMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
+ rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFORMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
if (rc < 0) {
ril_request_data_free(request->request);
goto error;
@@ -414,7 +414,7 @@ int ipc_sec_callback(struct ipc_message *message)
goto error;
}
- rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFOMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
+ rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFORMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
if (rc < 0) {
ril_request_data_free(request->request);
goto error;
@@ -464,7 +464,7 @@ int ipc_sec_callback(struct ipc_message *message)
}
}
- rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFOMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
+ rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFORMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
if (rc < 0) {
ril_request_data_free(request->request);
goto error;