mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
btio: Fix type detection for L2CAP fixed channels
This commit is contained in:
parent
88f597d329
commit
2d0b8b0bb2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user