projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2afe17
)
Set HSO devices to single network mode
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 28 Dec 2008 08:16:52 +0000
(09:16 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 28 Dec 2008 08:16:52 +0000
(09:16 +0100)
src/detect.c
patch
|
blob
|
history
diff --git
a/src/detect.c
b/src/detect.c
index
c6988df
..
9ede7db
100644
(file)
--- a/
src/detect.c
+++ b/
src/detect.c
@@
-200,9
+200,10
@@
static void detect_newlink(unsigned short type, int index,
}
switch (devtype) {
- case CONNMAN_DEVICE_TYPE_BLUETOOTH:
case CONNMAN_DEVICE_TYPE_HSO:
connman_device_set_policy(device, CONNMAN_DEVICE_POLICY_MANUAL);
+ connman_device_set_mode(device,
+ CONNMAN_DEVICE_MODE_SINGLE_NETWORK);
break;
default:
break;