Bluetooth: Disconnect early if mode is not supported
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Jun 2010 23:54:45 +0000 (20:54 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:09 +0000 (10:39 -0700)
commitcf6c2c0b9f47ee3cd12684b905725c8376d52135
tree0564fbf6b00891c810d8b91dbdb33c3e97ce1ce4
parent2ba13ed678775195e8255b4e503c59d48b615bd8
Bluetooth: Disconnect early if mode is not supported

When mode is mandatory we shall not send connect request and report this
to the userspace as well.

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