projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3327fd
)
Classify HSO devices as cellular
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 27 Dec 2008 09:33:06 +0000
(10:33 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 27 Dec 2008 09:33:06 +0000
(10:33 +0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
d884a3f
..
8f5def7
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-56,6
+56,8
@@
static const char *type2description(enum connman_device_type type)
return "WiMAX";
case CONNMAN_DEVICE_TYPE_BLUETOOTH:
return "Bluetooth";
+ case CONNMAN_DEVICE_TYPE_HSO:
+ return "Cellular";
default:
return NULL;
}
@@
-74,6
+76,8
@@
static const char *type2string(enum connman_device_type type)
return "modem";
case CONNMAN_DEVICE_TYPE_BLUETOOTH:
return "bluetooth";
+ case CONNMAN_DEVICE_TYPE_HSO:
+ return "cellular";
default:
return NULL;
}