summaryrefslogtreecommitdiff
path: root/src/detect.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-28 09:16:52 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-28 09:16:52 +0100
commita9a626186bf087a4ecf36ca31c473c13df34572d (patch)
treed01df8d5005f83c6b8594f8716def3bc2fd76bb8 /src/detect.c
parentc2afe171cceb352419c379bc2c713931960a7549 (diff)
downloadconnman-a9a626186bf087a4ecf36ca31c473c13df34572d.tar.gz
connman-a9a626186bf087a4ecf36ca31c473c13df34572d.tar.bz2
connman-a9a626186bf087a4ecf36ca31c473c13df34572d.zip
Set HSO devices to single network mode
Diffstat (limited to 'src/detect.c')
-rw-r--r--src/detect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/detect.c b/src/detect.c
index c6988df8..9ede7dbb 100644
--- 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;