lte: update to the new API

This commit is contained in:
Denis Kenzior 2018-03-12 09:36:51 -05:00
parent 0cbddaf98b
commit 158159ecb0
1 changed files with 2 additions and 1 deletions

View File

@ -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;