changeset 29:c0f2d21307d1

comlib/cl_imei.c: Pirelli-specific bug fixed
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Oct 2016 00:45:16 +0000
parents cb00b90edaff
children 7fcb2ecddd82
files comlib/cl_imei.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/comlib/cl_imei.c	Sun Jun 12 18:28:35 2016 +0000
+++ b/comlib/cl_imei.c	Sat Oct 15 00:45:16 2016 +0000
@@ -268,6 +268,7 @@
 #if CONFIG_TARGET_PIRELLI
   ret = pirelli_get_imeisv (imeiBufSize, imeiBufPtr);
   if (ret == CL_IMEI_OK) {
+    memcpy(stored_imei, imeiBufPtr, CL_IMEI_SIZE);
     imei_flag = 1;
     return ret;
   }