udevng: Add modem string SystemPath

This commit is contained in:
Christophe Ronco 2018-02-19 15:57:12 +01:00 committed by Denis Kenzior
parent 895ca91d85
commit 1df92289d4
1 changed files with 2 additions and 0 deletions

View File

@ -1732,6 +1732,8 @@ static gboolean create_modem(gpointer key, gpointer value, gpointer user_data)
continue;
if (driver_list[i].setup(modem) == TRUE) {
ofono_modem_set_string(modem->modem, "SystemPath",
syspath);
ofono_modem_register(modem->modem);
return FALSE;
}