Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Unified Diff: src/udev.c

Issue 6673092: flimflam: Support all gobi devices. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/udev.c
diff --git a/src/udev.c b/src/udev.c
index 3cfe47b1868cac43836b0e624d6c1acc5ff9e4e1..ec1d29deafe03eaca2d60c09ed5369c23872e6e8 100644
--- a/src/udev.c
+++ b/src/udev.c
@@ -437,7 +437,9 @@ connman_bool_t __connman_udev_has_associated_modem(const char *ifname)
goto done;
driver = udev_device_get_driver(parent);
- if (g_strcmp0(driver, "QCUSBNet2k") == 0) {
+ if (g_strcmp0(driver, "QCUSBNet2k") == 0 ||
+ g_strcmp0(driver, "GobiNet") == 0 ||
+ g_strcmp0(driver, "gobi") == 0) {
/* QCUSBNet2k is always associated with modems */
Jason Glasgow 2011/03/16 21:25:11 Comment is no longer correct.
has_modem = TRUE;
goto done;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698