summaryrefslogtreecommitdiff
path: root/src/lte.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2018-03-12 09:36:51 -0500
committerDenis Kenzior <denkenz@gmail.com>2018-03-12 09:37:58 -0500
commit158159ecb0d379763af0d3be0f615cab29718891 (patch)
tree2ca6f7f1c67a0ee439e2294597ac58bdb48e2668 /src/lte.c
parent0cbddaf98b5a6ee1c0049a16de258737aa3ba2a3 (diff)
downloadofono-158159ecb0d379763af0d3be0f615cab29718891.tar.gz
lte: update to the new API
Diffstat (limited to 'src/lte.c')
-rw-r--r--src/lte.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lte.c b/src/lte.c
index 9b20749c..a6d26b3c 100644
--- a/src/lte.c
+++ b/src/lte.c
@@ -244,6 +244,7 @@ static void lte_atom_remove(struct ofono_atom *atom)
}
struct ofono_lte *ofono_lte_create(struct ofono_modem *modem,
+ unsigned int vendor,
const char *driver, void *data)
{
struct ofono_lte *lte;
@@ -266,7 +267,7 @@ struct ofono_lte *ofono_lte_create(struct ofono_modem *modem,
if (g_strcmp0(drv->name, driver))
continue;
- if (drv->probe(lte, data) < 0)
+ if (drv->probe(lte, vendor, data) < 0)
continue;
lte->driver = drv;