mirror of git://git.sysmocom.de/ofono
modem: Implement ofono_modem_get_sim
This commit is contained in:
parent
6cd169b05b
commit
61bbbb0d7a
|
@ -184,6 +184,11 @@ const char *ofono_modem_get_path(struct ofono_modem *modem)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
struct ofono_sim *ofono_modem_get_sim(struct ofono_modem *modem)
|
||||
{
|
||||
return __ofono_atom_find(OFONO_ATOM_TYPE_SIM, modem);
|
||||
}
|
||||
|
||||
struct ofono_atom *__ofono_modem_add_atom(struct ofono_modem *modem,
|
||||
enum ofono_atom_type type,
|
||||
void (*destruct)(struct ofono_atom *),
|
||||
|
|
Loading…
Reference in New Issue