diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-03-12 09:36:51 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-03-12 09:37:58 -0500 |
commit | 158159ecb0d379763af0d3be0f615cab29718891 (patch) | |
tree | 2ca6f7f1c67a0ee439e2294597ac58bdb48e2668 /src/lte.c | |
parent | 0cbddaf98b5a6ee1c0049a16de258737aa3ba2a3 (diff) | |
download | ofono-158159ecb0d379763af0d3be0f615cab29718891.tar.gz |
lte: update to the new API
Diffstat (limited to 'src/lte.c')
-rw-r--r-- | src/lte.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |