comparison comlib/cl_imei.c @ 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 75a11d740a02
children 2fc925048350
comparison
equal deleted inserted replaced
28:cb00b90edaff 29:c0f2d21307d1
266 return CL_IMEI_OK; 266 return CL_IMEI_OK;
267 } 267 }
268 #if CONFIG_TARGET_PIRELLI 268 #if CONFIG_TARGET_PIRELLI
269 ret = pirelli_get_imeisv (imeiBufSize, imeiBufPtr); 269 ret = pirelli_get_imeisv (imeiBufSize, imeiBufPtr);
270 if (ret == CL_IMEI_OK) { 270 if (ret == CL_IMEI_OK) {
271 memcpy(stored_imei, imeiBufPtr, CL_IMEI_SIZE);
271 imei_flag = 1; 272 imei_flag = 1;
272 return ret; 273 return ret;
273 } 274 }
274 #else 275 #else
275 ret = CL_IMEI_READ_IMEI_FAILED; 276 ret = CL_IMEI_READ_IMEI_FAILED;