btio: Fix type detection for L2CAP fixed channels

This commit is contained in:
Luiz Augusto von Dentz 2012-11-14 15:19:46 +02:00
parent 88f597d329
commit 2d0b8b0bb2

View File

@ -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: