diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-08-09 19:30:33 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-08-09 16:50:30 -0700 |
commit | f0f3a5709113f1b0f2f070697fb156f29f4d6434 (patch) | |
tree | 45e3b83b6ce322ecfe5ff943058c5da30f68de36 /plugins | |
parent | 7ca5ded9c6420a824040780178a0ef31e7faedae (diff) | |
download | ofono-f0f3a5709113f1b0f2f070697fb156f29f4d6434.tar.bz2 |
nokiacdma: Fix minor whitespace mistakes
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/nokiacdma.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/plugins/nokiacdma.c b/plugins/nokiacdma.c index 808341c4..f3735635 100644 --- a/plugins/nokiacdma.c +++ b/plugins/nokiacdma.c @@ -94,6 +94,8 @@ static int nokiacdma_enable(struct ofono_modem *modem) GIOChannel *channel; const char *device; + DBG("%p", modem); + device = ofono_modem_get_string(modem, "Device"); if (device == NULL) return -EINVAL; @@ -138,12 +140,15 @@ static void nokiacdma_pre_sim(struct ofono_modem *modem) { struct nokiacdma_data *data = ofono_modem_get_data(modem); + DBG("%p", modem); + 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) { + DBG("%p", modem); } static void nokiacdma_post_online(struct ofono_modem *modem) @@ -151,18 +156,19 @@ static void nokiacdma_post_online(struct ofono_modem *modem) struct nokiacdma_data *data = ofono_modem_get_data(modem); DBG("%p", modem); + ofono_cdma_connman_create(modem, 0, "cdmamodem", data->chat); } static struct ofono_modem_driver nokiacdma_driver = { - .name = "nokiacdma", - .probe = nokiacdma_probe, - .remove = nokiacdma_remove, - .enable = nokiacdma_enable, - .disable = nokiacdma_disable, - .pre_sim = nokiacdma_pre_sim, - .post_sim = nokiacdma_post_sim, - .post_online = nokiacdma_post_online, + .name = "nokiacdma", + .probe = nokiacdma_probe, + .remove = nokiacdma_remove, + .enable = nokiacdma_enable, + .disable = nokiacdma_disable, + .pre_sim = nokiacdma_pre_sim, + .post_sim = nokiacdma_post_sim, + .post_online = nokiacdma_post_online, }; static int nokiacdma_init(void) |