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:
Guillaume Zajac 2011-12-15 15:13:33 +01:00 committed by Denis Kenzior
parent 557201c2da
commit 3b6cb3a2c2
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <ofono/plugin.h>
#include <ofono/modem.h>
#include <ofono/devinfo.h>
#include <ofono/cdma-netreg.h>
#include <ofono/cdma-connman.h>
#include <ofono/log.h>
@ -214,6 +215,8 @@ static void speedupcdma_post_online(struct ofono_modem *modem)
DBG("%p", modem);
ofono_cdma_netreg_create(modem, 0, "huaweicdmamodem", data->aux);
ofono_cdma_connman_create(modem, OFONO_VENDOR_HUAWEI, "cdmamodem",
data->modem);
}