changeset 917:9b4b0fcddc77

fc-getpirimei works
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 08 Sep 2015 19:01:19 +0000
parents 8e1c55cf7989
children c298d579788e
files rvinterf/etmsync/pirimei.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rvinterf/etmsync/pirimei.c	Tue Sep 08 18:59:29 2015 +0000
+++ b/rvinterf/etmsync/pirimei.c	Tue Sep 08 19:01:19 2015 +0000
@@ -35,7 +35,7 @@
 		printf(failmsg);
 		return(ERROR_TARGET);
 	}
-	bcopy(decrypted[1], pirelli_imeisv, 8);
+	bcopy(decrypted[0], pirelli_imeisv, 8);
 	printf("Factory IMEISV is %02X%02X%02X%02X-%02X%02X%02X-%02X\n",
 		pirelli_imeisv[0], pirelli_imeisv[1], pirelli_imeisv[2],
 		pirelli_imeisv[3], pirelli_imeisv[4], pirelli_imeisv[5],