summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/ssn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/ssn.c')
-rw-r--r--drivers/atmodem/ssn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/atmodem/ssn.c b/drivers/atmodem/ssn.c
index c8f23b69..7c7e86ea 100644
--- a/drivers/atmodem/ssn.c
+++ b/drivers/atmodem/ssn.c
@@ -111,8 +111,11 @@ static gboolean at_ssn_register(gpointer user)
return FALSE;
}
-static int at_ssn_probe(struct ofono_ssn *ssn)
+static int at_ssn_probe(struct ofono_ssn *ssn, int vendor, void *data)
{
+ GAtChat *chat = data;
+
+ ofono_ssn_set_data(ssn, chat);
g_idle_add(at_ssn_register, ssn);
return 0;