diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-28 09:16:52 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-28 09:16:52 +0100 |
commit | a9a626186bf087a4ecf36ca31c473c13df34572d (patch) | |
tree | d01df8d5005f83c6b8594f8716def3bc2fd76bb8 /src/detect.c | |
parent | c2afe171cceb352419c379bc2c713931960a7549 (diff) | |
download | connman-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.c | 3 |
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; |