mirror of git://git.sysmocom.de/ofono
udevng: Add modem string SystemPath
This commit is contained in:
parent
895ca91d85
commit
1df92289d4
|
@ -1732,6 +1732,8 @@ static gboolean create_modem(gpointer key, gpointer value, gpointer user_data)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (driver_list[i].setup(modem) == TRUE) {
|
if (driver_list[i].setup(modem) == TRUE) {
|
||||||
|
ofono_modem_set_string(modem->modem, "SystemPath",
|
||||||
|
syspath);
|
||||||
ofono_modem_register(modem->modem);
|
ofono_modem_register(modem->modem);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue