summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/call-forwarding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c
index 649040fa..7c66bec3 100644
--- a/src/call-forwarding.c
+++ b/src/call-forwarding.c
@@ -1147,6 +1147,7 @@ static void call_forwarding_remove(struct ofono_atom *atom)
}
struct ofono_call_forwarding *ofono_call_forwarding_create(struct ofono_modem *modem,
+ int vendor,
const char *driver,
void *data)
{
@@ -1161,7 +1162,6 @@ struct ofono_call_forwarding *ofono_call_forwarding_create(struct ofono_modem *m
if (cf == NULL)
return NULL;
- cf->driver_data = data;
cf->atom = __ofono_modem_add_atom(modem,
OFONO_ATOM_TYPE_CALL_FORWARDING,
call_forwarding_remove, cf);
@@ -1171,7 +1171,7 @@ struct ofono_call_forwarding *ofono_call_forwarding_create(struct ofono_modem *m
if (g_strcmp0(drv->name, driver))
continue;
- if (drv->probe(cf) < 0)
+ if (drv->probe(cf, vendor, data) < 0)
continue;
cf->driver = drv;