mirror of git://git.sysmocom.de/ofono
speedupcdma: Create cdma-netreg atom
According to SpeedUp 7300 specifications, SpeedUp uses same AT command as Huawei so we can create cdma-netreg atom using huaweicdma drivers.
This commit is contained in:
parent
557201c2da
commit
3b6cb3a2c2
|
@ -34,6 +34,7 @@
|
||||||
#include <ofono/plugin.h>
|
#include <ofono/plugin.h>
|
||||||
#include <ofono/modem.h>
|
#include <ofono/modem.h>
|
||||||
#include <ofono/devinfo.h>
|
#include <ofono/devinfo.h>
|
||||||
|
#include <ofono/cdma-netreg.h>
|
||||||
#include <ofono/cdma-connman.h>
|
#include <ofono/cdma-connman.h>
|
||||||
#include <ofono/log.h>
|
#include <ofono/log.h>
|
||||||
|
|
||||||
|
@ -214,6 +215,8 @@ static void speedupcdma_post_online(struct ofono_modem *modem)
|
||||||
|
|
||||||
DBG("%p", modem);
|
DBG("%p", modem);
|
||||||
|
|
||||||
|
ofono_cdma_netreg_create(modem, 0, "huaweicdmamodem", data->aux);
|
||||||
|
|
||||||
ofono_cdma_connman_create(modem, OFONO_VENDOR_HUAWEI, "cdmamodem",
|
ofono_cdma_connman_create(modem, OFONO_VENDOR_HUAWEI, "cdmamodem",
|
||||||
data->modem);
|
data->modem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue