From adf93dc436274e378ad29358ab33fdca386c0235 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 25 Nov 2012 20:00:07 +0100 Subject: [PATCH] udev: Use Qualcomm Gobi driver if QMI based modem --- plugins/udevng.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/udevng.c b/plugins/udevng.c index 3bc72f1..a0879c8 100644 --- a/plugins/udevng.c +++ b/plugins/udevng.c @@ -338,9 +338,15 @@ static gboolean setup_huawei(struct modem_info *modem) } } + if (qmi != NULL && net != NULL) { + ofono_modem_set_driver(modem->modem, "gobi"); + goto done; + } + if (mdm == NULL || pcui == NULL) return FALSE; +done: DBG("mdm=%s pcui=%s diag=%s qmi=%s net=%s", mdm, pcui, diag, qmi, net); ofono_modem_set_string(modem->modem, "Device", qmi); -- 2.7.4