From 697916d7311a511c8748a62e858109d89c64034c Mon Sep 17 00:00:00 2001 From: Simon Busch Date: Wed, 29 Aug 2012 14:09:02 +0200 Subject: sec: rename ipc_sec_pin_status_response structure --- tools/modemctrl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') 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"); -- cgit v1.1