mirror of git://git.sysmocom.de/ofono
sim: Add ofono_sim_get_spn() implementation
This commit is contained in:
parent
80733ae875
commit
810bd2aa2e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue