Bluetooth: Disallow usage of L2CAP CID setting for now
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Feb 2009 02:20:31 +0000 (03:20 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:47 +0000 (06:14 +0100)
commit2a517ca687232adc8f14893730644da712010ffc
tree564d08647266370fd21ad5a0e0ee726e3f2ae113
parent8bf4794174659b06d43cc5e290cd384757374613
Bluetooth: Disallow usage of L2CAP CID setting for now

In the future the L2CAP layer will have full support for fixed channels
and right now it already can export the channel assignment, but for the
functions bind() and connect() the usage of only CID 0 is allowed. This
allows an easy detection if the kernel supports fixed channels or not,
because otherwise it would impossible for application to tell.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c