summaryrefslogtreecommitdiff
path: root/btio
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-11-14 15:19:46 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-11-14 15:19:46 +0200
commit2d0b8b0bb215eb73a09518576bff94db197b3b30 (patch)
treec4b5df284cfe9277b62d2469e3d1e2de55a5e40f /btio
parent88f597d3298a5f1933f117b2b0f73ebb649148a7 (diff)
downloadbluez-2d0b8b0bb215eb73a09518576bff94db197b3b30.tar.gz
btio: Fix type detection for L2CAP fixed channels
Diffstat (limited to 'btio')
-rw-r--r--btio/btio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btio/btio.c b/btio/btio.c
index 720825954..44c2f9bfa 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -790,6 +790,7 @@ static gboolean parse_set_opts(struct set_opts *opts, GError **err,
opts->psm = va_arg(args, int);
break;
case BT_IO_OPT_CID:
+ opts->type = BT_IO_L2CAP;
opts->cid = va_arg(args, int);
break;
case BT_IO_OPT_MTU: