diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-09-01 18:03:52 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-09-01 18:14:59 -0500 |
commit | 4064f4ba7330499a5a62291a646559a4f6a9c555 (patch) | |
tree | 5c4c694436c6319ea12deaff62aef1aa56404880 /src | |
parent | e5577046f06e8501d313e669b35455399ff09585 (diff) | |
download | ofono-4064f4ba7330499a5a62291a646559a4f6a9c555.tar.bz2 |
Add vendor flag capability to voicecalls
Diffstat (limited to 'src')
-rw-r--r-- | src/voicecall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 71c1ddf7..367d6b11 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1813,8 +1813,9 @@ static void voicecall_remove(struct ofono_atom *atom) } struct ofono_voicecall *ofono_voicecall_create(struct ofono_modem *modem, - const char *driver, - void *data) + int vendor, + const char *driver, + void *data) { struct ofono_voicecall *vc; GSList *l; @@ -1827,7 +1828,6 @@ struct ofono_voicecall *ofono_voicecall_create(struct ofono_modem *modem, if (vc == NULL) return NULL; - vc->driver_data = data; vc->atom = __ofono_modem_add_atom(modem, OFONO_ATOM_TYPE_VOICECALL, voicecall_remove, vc); @@ -1837,7 +1837,7 @@ struct ofono_voicecall *ofono_voicecall_create(struct ofono_modem *modem, if (g_strcmp0(drv->name, driver)) continue; - if (drv->probe(vc) < 0) + if (drv->probe(vc, vendor, data) < 0) continue; vc->driver = drv; |