mirror of git://git.sysmocom.de/ofono
nokiacdma: Add CDMA devinfo support
This commit is contained in:
parent
c4b5dad476
commit
e0e734619f
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
#include <drivers/atmodem/atutil.h>
|
#include <drivers/atmodem/atutil.h>
|
||||||
#include <ofono/cdma-voicecall.h>
|
#include <ofono/cdma-voicecall.h>
|
||||||
|
#include <ofono/devinfo.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
@ -137,6 +138,7 @@ static void nokiacdma_pre_sim(struct ofono_modem *modem)
|
||||||
struct nokiacdma_data *data = ofono_modem_get_data(modem);
|
struct nokiacdma_data *data = ofono_modem_get_data(modem);
|
||||||
|
|
||||||
ofono_cdma_voicecall_create(modem, 0, "cdmamodem", data->chat);
|
ofono_cdma_voicecall_create(modem, 0, "cdmamodem", data->chat);
|
||||||
|
ofono_devinfo_create(modem, 0, "cdmamodem", data->chat);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void nokiacdma_post_sim(struct ofono_modem *modem)
|
static void nokiacdma_post_sim(struct ofono_modem *modem)
|
||||||
|
|
Loading…
Reference in New Issue