aboutsummaryrefslogtreecommitdiff
path: root/libwmc/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'libwmc/src/commands.c')
-rw-r--r--libwmc/src/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libwmc/src/commands.c b/libwmc/src/commands.c
index 0128a8a9..bae19ffd 100644
--- a/libwmc/src/commands.c
+++ b/libwmc/src/commands.c
@@ -177,9 +177,9 @@ wmc_cmd_device_info_result (const char *buf, gsize buflen)
/* IMSI */
memset (tmp, 0, sizeof (tmp));
- g_assert (sizeof (rsp2->imsi) <= sizeof (tmp));
- memcpy (tmp, rsp2->imsi, sizeof (rsp2->imsi));
- wmc_result_add_string (r, WMC_CMD_DEVICE_INFO_ITEM_IMSI, tmp);
+ g_assert (sizeof (rsp2->iccid) <= sizeof (tmp));
+ memcpy (tmp, rsp2->iccid, sizeof (rsp2->iccid));
+ wmc_result_add_string (r, WMC_CMD_DEVICE_INFO_ITEM_ICCID, tmp);
/* MCC */
memset (tmp, 0, sizeof (tmp));