summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/call-forwarding.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/call-forwarding.c')
-rw-r--r--drivers/atmodem/call-forwarding.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/atmodem/call-forwarding.c b/drivers/atmodem/call-forwarding.c
index d6224680..24fd8332 100644
--- a/drivers/atmodem/call-forwarding.c
+++ b/drivers/atmodem/call-forwarding.c
@@ -262,8 +262,12 @@ static gboolean at_ccfc_register(gpointer user)
return FALSE;
}
-static int at_ccfc_probe(struct ofono_call_forwarding *cf)
+static int at_ccfc_probe(struct ofono_call_forwarding *cf, int vendor,
+ void *data)
{
+ GAtChat *chat = data;
+
+ ofono_call_forwarding_set_data(cf, chat);
g_idle_add(at_ccfc_register, cf);
return 0;