aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-08-29 14:09:02 +0200
committerSimon Busch <morphis@gravedo.de>2012-08-29 14:09:02 +0200
commit697916d7311a511c8748a62e858109d89c64034c (patch)
tree10ac71c6d346f8a6a49079fb0008ce6e0897ca81 /tools
parent66d5c97e407c2326c5f3dd6ae1059dd18e769c54 (diff)
downloadexternal_libsamsung-ipc-697916d7311a511c8748a62e858109d89c64034c.zip
external_libsamsung-ipc-697916d7311a511c8748a62e858109d89c64034c.tar.gz
external_libsamsung-ipc-697916d7311a511c8748a62e858109d89c64034c.tar.bz2
sec: rename ipc_sec_pin_status_response structure
Diffstat (limited to 'tools')
-rw-r--r--tools/modemctrl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/modemctrl.c b/tools/modemctrl.c
index f928d58..eb8808f 100644
--- a/tools/modemctrl.c
+++ b/tools/modemctrl.c
@@ -149,7 +149,7 @@ void modem_set_sec_pin_status(struct ipc_client *client, char *pin1, char *pin2)
void modem_response_sec(struct ipc_client *client, struct ipc_message_info *resp)
{
- struct ipc_sec_pin_status_response *pin_status;
+ struct ipc_sec_sim_status_response *sim_status;
unsigned char type;
int status;
char *data;
@@ -157,9 +157,9 @@ void modem_response_sec(struct ipc_client *client, struct ipc_message_info *resp
switch(IPC_COMMAND(resp))
{
case IPC_SEC_SIM_STATUS :
- pin_status = (struct ipc_sec_pin_status_response *)resp->data;
+ sim_status = (struct ipc_sec_sim_status_response *)resp->data;
- switch(pin_status->status)
+ switch(sim_status->status)
{
case IPC_SEC_SIM_STATUS_INITIALIZING:
printf("[I] SIM is initializing\n");
@@ -168,7 +168,7 @@ void modem_response_sec(struct ipc_client *client, struct ipc_message_info *resp
printf("[I] SIM card is definitely absent\n");
break;
case IPC_SEC_SIM_STATUS_LOCK_SC:
- switch(pin_status->facility_lock)
+ switch(sim_status->facility_lock)
{
case IPC_SEC_FACILITY_LOCK_TYPE_SC_PIN1_REQ:
printf("[I] We need the PIN1 to unlock the card!\n");