Call the serial modem setup method for ublox modems that are
connected to a serial port instead of USB.
---
 plugins/udevng.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/plugins/udevng.c b/plugins/udevng.c
index 4b420dc0..0d475da0 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -1063,8 +1063,15 @@ static gboolean setup_ublox(struct modem_info *modem)
        const char *aux = NULL, *mdm = NULL, *net = NULL;
        GSList *list;
 
+
        DBG("%s", modem->syspath);
 
+       if(strstr(modem->syspath, "serial"))
+       {
+               setup_serial_modem(modem);
+               return TRUE;
+       }
+
        for (list = modem->devices; list; list = list->next) {
                struct device_info *info = list->data;
 
-- 
2.20.1

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to