projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d748f45
)
Don't handle devices from USB network cards
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 3 Jul 2009 21:14:58 +0000
(14:14 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 3 Jul 2009 21:14:58 +0000
(14:14 -0700)
src/inet.c
patch
|
blob
|
history
diff --git
a/src/inet.c
b/src/inet.c
index
5038933
..
c3ccef8
100644
(file)
--- a/
src/inet.c
+++ b/
src/inet.c
@@
-329,6
+329,8
@@
struct connman_device *connman_inet_create_device(int index)
devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
else if (g_str_has_prefix(devname, "wmx") == TRUE)
devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
+ else if (g_str_has_prefix(devname, "usb") == TRUE)
+ devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
else if (stat(wimax_path, &st) == 0 && (st.st_mode & S_IFDIR))
devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
else if (stat(bridge_path, &st) == 0 && (st.st_mode & S_IFDIR))