sim: Add ofono_sim_get_spn() implementation

This commit is contained in:
Oleg Zhurakivskyy 2012-01-18 13:56:28 +02:00 committed by Denis Kenzior
parent 80733ae875
commit 810bd2aa2e
1 changed files with 8 additions and 0 deletions

View File

@ -2151,6 +2151,14 @@ const char *ofono_sim_get_mnc(struct ofono_sim *sim)
return sim->mnc;
}
const char *ofono_sim_get_spn(struct ofono_sim *sim)
{
if (sim == NULL)
return NULL;
return sim->spn;
}
enum ofono_sim_phase ofono_sim_get_phase(struct ofono_sim *sim)
{
if (sim == NULL)