summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-11-14 15:19:46 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-11-15 09:39:38 +0200
commit1ab367cab45ee6c12ed66605e86334c3060f8778 (patch)
treeecc1e30f7e9bd11fc318c37276e842b86e2576eb
parenta1705049a1372a34a813a30094fcc74ed144f939 (diff)
downloadobexd-1ab367cab45ee6c12ed66605e86334c3060f8778.tar.gz
btio: Fix type detection for L2CAP fixed channels
-rw-r--r--btio/btio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btio/btio.c b/btio/btio.c
index 7208259..44c2f9b 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: