diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-01-06 14:17:27 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-06 14:17:27 -0600 |
commit | 45f2f9315fd48aa71d0a90dd82826125649382ee (patch) | |
tree | 8bd20fec763eba09ff24e8480472d9c1afbda0da | |
parent | beb3e032e43b1095dab3d3aa4ec6c75cd8481b67 (diff) | |
download | ofono-45f2f9315fd48aa71d0a90dd82826125649382ee.tar.bz2 |
Set phase to unknown until we probe it
-rw-r--r-- | include/sim.h | 1 | ||||
-rw-r--r-- | src/sim.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h index fec043ff..07059a0f 100644 --- a/include/sim.h +++ b/include/sim.h @@ -62,6 +62,7 @@ enum ofono_sim_phase { OFONO_SIM_PHASE_2G, OFONO_SIM_PHASE_2G_PLUS, OFONO_SIM_PHASE_3G, + OFONO_SIM_PHASE_UNKNOWN, }; typedef void (*ofono_sim_file_info_cb_t)(const struct ofono_error *error, @@ -1899,6 +1899,7 @@ struct ofono_sim *ofono_sim_create(struct ofono_modem *modem, if (sim == NULL) return NULL; + sim->phase = OFONO_SIM_PHASE_UNKNOWN; sim->atom = __ofono_modem_add_atom(modem, OFONO_ATOM_TYPE_SIM, sim_remove, sim); |