[Bluetooth] Fix L2CAP configuration parameter handling
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 24 May 2007 12:27:19 +0000 (14:27 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 24 May 2007 12:27:19 +0000 (14:27 +0200)
commit5dee9e7c4c869fcffccc3d432b755793dfa71376
tree4142c425d5941c405dc0a8bf23c59e0749192bfa
parentfd184ab4283a6a6105e8312a497d2a2a193eaf67
[Bluetooth] Fix L2CAP configuration parameter handling

The L2CAP configuration parameter handling was missing the support
for rejecting unknown options. The capability to reject unknown
options is mandatory since the Bluetooth 1.2 specification. This
patch implements its and also simplifies the parameter parsing.

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