[layer23] SIM client accepts status code 61xx as a positive result

This commit is contained in:
Andreas.Eversberg 2010-08-30 11:43:16 +00:00
parent b0efeb81eb
commit 1198f35283
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@
#define GSM1111_STAT_PROACTIVE 0x91
#define GSM1111_STAT_DL_ERROR 0x9e
#define GSM1111_STAT_RESPONSE 0x9f
#define GSM1111_STAT_RESPONSE_TOO 0x61
#define GSM1111_STAT_APP_TK_BUSY 0x93
#define GSM1111_STAT_MEM_PROBLEM 0x92
#define GSM1111_STAT_REFERENCING 0x94

View File

@ -861,6 +861,7 @@ static int sim_apdu_receive(struct osmocom_ms *ms, struct msgb *msg)
case GSM1111_STAT_PROACTIVE:
case GSM1111_STAT_DL_ERROR:
case GSM1111_STAT_RESPONSE:
case GSM1111_STAT_RESPONSE_TOO:
LOGP(DSIM, LOGL_INFO, "command successfull\n");
switch (sh->job_type) {
case SIM_JOB_PIN1_CHANGE: