sim: fix minor issue in ofono_sim_get_phase

This commit is contained in:
Jeevaka Badrappan 2010-12-06 10:39:16 -08:00 committed by Denis Kenzior
parent 0571baa5f1
commit a8c94c044f
1 changed files with 1 additions and 1 deletions

View File

@ -1914,7 +1914,7 @@ const char *ofono_sim_get_imsi(struct ofono_sim *sim)
enum ofono_sim_phase ofono_sim_get_phase(struct ofono_sim *sim)
{
if (sim == NULL)
return 0;
return OFONO_SIM_PHASE_UNKNOWN;
return sim->phase;
}