Bluetooth: Disconnect the channel if we don't want the proposed mode
authorGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Jun 2010 22:09:48 +0000 (19:09 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:08 +0000 (10:39 -0700)
commit742e519b0db4a470008118b48f0baea6126e2122
tree3ef3d25004e14a1838d95046e268900f304e7305
parent85eb53c6f719523dde9e0658823dffd2664d4d1c
Bluetooth: Disconnect the channel if we don't want the proposed mode

If the device is a STATE 2 then it should disconnect the channel if the
remote device propose a mode different from its mandatory mode.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c