diff options
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; |