summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/call-forwarding.c
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-01 17:03:43 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 18:14:57 -0500
commit7ee954b28ae62e15838a82dbfa9eab4a88eca70f (patch)
tree62f9d5f451fdc653882c8f4b7c34d0cd3def29e4 /drivers/atmodem/call-forwarding.c
parent15b1a733b0a3a99adcf619b82ee4304a43ade4dd (diff)
downloadofono-7ee954b28ae62e15838a82dbfa9eab4a88eca70f.tar.bz2
Add vendor flag to call-forwarding
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;