projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
589a899
)
udev: Use Qualcomm Gobi driver if QMI based modem
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 25 Nov 2012 19:00:07 +0000
(20:00 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 25 Nov 2012 19:00:07 +0000
(20:00 +0100)
plugins/udevng.c
patch
|
blob
|
history
diff --git
a/plugins/udevng.c
b/plugins/udevng.c
index
3bc72f1
..
a0879c8
100644
(file)
--- 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);