Changeset 11049
- Timestamp:
- 10/09/15 21:12:36 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reader-irdeto.c
r11047 r11049 1056 1056 reader_chk_cmd(sc_Acs57_Cmd, acslength + 2); 1057 1057 rdr_log_dbg(reader, D_EMM,"response %02X %02X %02X %02X %02X (%s)", cta_res[0], cta_res[1], cta_res[2], cta_res[3], cta_res[4], (cta_res[2] == 0 ? "OK" : "ERROR")); 1058 if(cta_res[2] != 0) 1058 if(cta_res[2] == 0x7B || cta_res[2] == 0x7C) // chid already written or chid already up to date 1059 { 1060 return SKIPPED; 1061 } 1062 if(cta_res[2] == 0x00) 1059 1063 { 1060 return ERROR;1064 return OK; 1061 1065 } 1062 return OK;1066 return ERROR; // all other 1063 1067 } 1064 1068 else … … 1083 1087 rdr_log_dbg(reader, D_EMM,"response %02X %02X %02X %02X %02X (%s)", cta_res[0], cta_res[1], cta_res[2], cta_res[3], cta_res[4], (errorcode == 0 ? "OK" : "ERROR")); 1084 1088 1085 return (errorcode == 0 ? OK : ERROR); 1089 if(cta_res[2] == 0x7B || cta_res[2] == 0x7C) // chid already written or chid already up to date 1090 { 1091 return SKIPPED; 1092 } 1093 if(cta_res[2] == 0x00) 1094 { 1095 return OK; 1096 } 1097 return ERROR; // all other 1086 1098 } 1087 1099 }
Note:
See TracChangeset
for help on using the changeset viewer.