[sim] Fixed path handling in sim client and mobile app.

This commit is contained in:
Nico Golde 2011-05-02 15:42:42 +02:00 committed by Sylvain Munaut
parent 85a89208ca
commit 9ddeae9d42
2 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ static int sim_process_job(struct osmocom_ms *ms)
/* check MF / DF */
i = 0;
while (sh->path[i] && sim->path[i]) {
if (sh->path[i] != sh->path[i])
if (sh->path[i] != sim->path[i])
break;
i++;
}

View File

@ -492,7 +492,7 @@ static struct subscr_sim_file {
{ 1, { 0 }, 0x2fe2, subscr_sim_iccid },
{ 1, { 0x7f20, 0 }, 0x6f07, subscr_sim_imsi },
{ 1, { 0x7f20, 0 }, 0x6f7e, subscr_sim_loci },
{ 0, { 0x7f20, 0 }, 0x6f40, subscr_sim_msisdn },
{ 0, { 0x7f10, 0 }, 0x6f40, subscr_sim_msisdn },
{ 0, { 0x7f20, 0 }, 0x6f20, subscr_sim_kc },
{ 0, { 0x7f20, 0 }, 0x6f30, subscr_sim_plmnsel },
{ 0, { 0x7f20, 0 }, 0x6f31, subscr_sim_hpplmn },