Add mbm vendor

This commit is contained in:
Denis Kenzior 2010-03-26 15:28:00 -05:00
parent 14f296075e
commit d994ed1111
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ enum ofono_vendor {
OFONO_VENDOR_GENERIC = 0,
OFONO_VENDOR_CALYPSO,
OFONO_VENDOR_STE,
OFONO_VENDOR_MBM,
OFONO_VENDOR_QUALCOMM_MSM,
OFONO_VENDOR_OPTION_HSO,
OFONO_VENDOR_HUAWEI,

View File

@ -50,6 +50,7 @@
#include <ofono/gprs.h>
#include <ofono/gprs-context.h>
#include <ofono/log.h>
#include <drivers/atmodem/vendor.h>
static const char *cfun_prefix[] = { "+CFUN:", NULL };
static const char *none_prefix[] = { NULL };
@ -294,7 +295,7 @@ static void mbm_post_sim(struct ofono_modem *modem)
ofono_call_volume_create(modem, 0, "atmodem", data->chat);
ofono_ussd_create(modem, 0, "atmodem", data->chat);
ofono_netreg_create(modem, 0, "atmodem", data->chat);
ofono_netreg_create(modem, OFONO_VENDOR_MBM, "atmodem", data->chat);
ofono_phonebook_create(modem, 0, "atmodem", data->chat);
ofono_ssn_create(modem, 0, "atmodem", data->chat);
ofono_sms_create(modem, 0, "atmodem", data->chat);