aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-08 22:18:41 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-15 16:04:09 +0200
commit41808e5d12b1a39f687468b6b81c75c7a4fc0203 (patch)
treecc1bcb0bcd35394be6b4f813c31f2a4c22485eee
parent584e9eaa9dea2928621c78ae8a28dc23c2ebd08d (diff)
downloadhardware_replicant_libsamsung-ipc-41808e5d12b1a39f687468b6b81c75c7a4fc0203.tar.gz
hardware_replicant_libsamsung-ipc-41808e5d12b1a39f687468b6b81c75c7a4fc0203.tar.bz2
hardware_replicant_libsamsung-ipc-41808e5d12b1a39f687468b6b81c75c7a4fc0203.zip
sec: fix SIM not found due to typo while switch to Linux code style
The bug being fixed in this commit was introduced in the following commit: b98a418 samsung-ipc: sec: switch to Linux code style b98a4188db6350794e8e7139065d71a25314e18c With that bug, on Replicant 6.0 0004 RC2, the SIM card is not found anymore, but some modem functionality still worked like getting the IMEI through the settings. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--samsung-ipc/sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c
index 31b73de..b0ab647 100644
--- a/samsung-ipc/sec.c
+++ b/samsung-ipc/sec.c
@@ -201,8 +201,8 @@ void *ipc_sec_rsim_access_extract(const void *data, size_t size)
if (data == NULL ||
size < sizeof(struct ipc_sec_rsim_access_response_header)) {
- }
return NULL;
+ }
header = (struct ipc_sec_rsim_access_response_header *) data;
if (header->length == 0 ||