mirror of git://git.sysmocom.de/ofono
gobi: create NetworkMonitor atom
This commit is contained in:
parent
fd453816cc
commit
e267da8bc4
|
@ -34,6 +34,7 @@
|
|||
#include <ofono/modem.h>
|
||||
#include <ofono/devinfo.h>
|
||||
#include <ofono/netreg.h>
|
||||
#include <ofono/netmon.h>
|
||||
#include <ofono/phonebook.h>
|
||||
#include <ofono/voicecall.h>
|
||||
#include <ofono/sim.h>
|
||||
|
@ -503,8 +504,10 @@ static void gobi_post_online(struct ofono_modem *modem)
|
|||
|
||||
DBG("%p", modem);
|
||||
|
||||
if (data->features & GOBI_NAS)
|
||||
if (data->features & GOBI_NAS) {
|
||||
ofono_netreg_create(modem, 0, "qmimodem", data->device);
|
||||
ofono_netmon_create(modem, 0, "qmimodem", data->device);
|
||||
}
|
||||
|
||||
if (data->features & GOBI_VOICE)
|
||||
ofono_ussd_create(modem, 0, "qmimodem", data->device);
|
||||
|
|
Loading…
Reference in New Issue