diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-09-01 17:18:42 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-09-01 18:14:58 -0500 |
commit | c7d35dd039b60670e4175b49f377275c6569953f (patch) | |
tree | d4394c376be96c9b8285a5221f6552d111d9e44d /drivers/atmodem | |
parent | 933f803967c4b2062a6e2dfd075f400ffe29defd (diff) | |
download | ofono-c7d35dd039b60670e4175b49f377275c6569953f.tar.bz2 |
Add vendor flag capability to devinfo
Diffstat (limited to 'drivers/atmodem')
-rw-r--r-- | drivers/atmodem/devinfo.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/atmodem/devinfo.c b/drivers/atmodem/devinfo.c index df43bc4d..8e3123af 100644 --- a/drivers/atmodem/devinfo.c +++ b/drivers/atmodem/devinfo.c @@ -189,10 +189,12 @@ static gboolean at_devinfo_register(gpointer user_data) return FALSE; } -static int at_devinfo_probe(struct ofono_devinfo *info) +static int at_devinfo_probe(struct ofono_devinfo *info, int vendor, void *data) { - /* There are no useful initializations we can do */ - g_timeout_add(0, at_devinfo_register, info); + GAtChat *chat = data; + + ofono_devinfo_set_data(info, chat); + g_idle_add(at_devinfo_register, info); return 0; } |