summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-01-29 10:31:16 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-29 10:31:16 +0100
commitbda85361ad88740e39c56346577655a8f1ce4d31 (patch)
treec027782b353f829a10d4971f8931d8a4a9315f6e /plugins
parenta5e83f566859be50d035b7eeac5b5e104b948835 (diff)
novatel: Move SMS support into post_sim stage
Diffstat (limited to 'plugins')
-rw-r--r--plugins/novatel.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/novatel.c b/plugins/novatel.c
index 2d77492b..fbd12166 100644
--- a/plugins/novatel.c
+++ b/plugins/novatel.c
@@ -348,9 +348,13 @@ static void novatel_post_sim(struct ofono_modem *modem)
DBG("%p", modem);
- if (data->secondary != NULL)
+ if (data->secondary != NULL) {
ofono_radio_settings_create(modem, 0, "nwmodem",
data->secondary);
+
+ ofono_sms_create(modem, OFONO_VENDOR_NOVATEL, "atmodem",
+ data->secondary);
+ }
}
static void novatel_post_online(struct ofono_modem *modem)
@@ -369,8 +373,6 @@ static void novatel_post_online(struct ofono_modem *modem)
ofono_netreg_create(modem, OFONO_VENDOR_NOVATEL, "atmodem",
data->secondary);
- ofono_sms_create(modem, OFONO_VENDOR_NOVATEL, "atmodem",
- data->secondary);
ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM, "atmodem",
data->secondary);
ofono_ussd_create(modem, 0, "atmodem", data->secondary);