mirror of git://git.sysmocom.de/ofono
Rename ofono_atmodem_poll_enable
This is not official oFono API
This commit is contained in:
parent
14bcca32c0
commit
cc0ffd1720
|
@ -288,7 +288,7 @@ static void stk_watch(struct ofono_atom *atom,
|
|||
spd->stk = NULL;
|
||||
}
|
||||
|
||||
void ofono_atmodem_poll_enable(struct ofono_modem *modem, GAtChat *chat)
|
||||
void atmodem_poll_enable(struct ofono_modem *modem, GAtChat *chat)
|
||||
{
|
||||
struct ofono_atom *sim_atom;
|
||||
struct ofono_atom *stk_atom;
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
*
|
||||
*/
|
||||
|
||||
void ofono_atmodem_poll_enable(struct ofono_modem *modem, GAtChat *chat);
|
||||
void atmodem_poll_enable(struct ofono_modem *modem, GAtChat *chat);
|
||||
|
|
|
@ -167,7 +167,7 @@ static void atgen_pre_sim(struct ofono_modem *modem)
|
|||
ofono_voicecall_create(modem, 0, "atmodem", chat);
|
||||
ofono_stk_create(modem, 0, "atmodem", chat);
|
||||
|
||||
ofono_atmodem_poll_enable(modem, chat);
|
||||
atmodem_poll_enable(modem, chat);
|
||||
}
|
||||
|
||||
static void atgen_post_sim(struct ofono_modem *modem)
|
||||
|
|
|
@ -294,7 +294,7 @@ static void phonesim_pre_sim(struct ofono_modem *modem)
|
|||
ofono_stk_create(modem, 0, "atmodem", data->chat);
|
||||
|
||||
if (!data->calypso)
|
||||
ofono_atmodem_poll_enable(modem, data->chat);
|
||||
atmodem_poll_enable(modem, data->chat);
|
||||
else if (sim)
|
||||
ofono_sim_inserted_notify(sim, TRUE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue