Bluetooth: Switch ATT channels to use L2CAP_CHAN_FIXED
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 24 Jan 2014 08:35:41 +0000 (10:35 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:37 +0000 (09:51 +0200)
commit21626e6214f92aaae580052c760dc85f83b5faef
tree425df2304948783f3794331c313b7086d9933344
parent2338a7e0440d646c194d421748ea36665e648384
Bluetooth: Switch ATT channels to use L2CAP_CHAN_FIXED

ATT channels are not connection oriented so having them use
L2CAP_CHAN_CONN_ORIENTED is quite confusing. Instead, use the new
L2CAP_CHAN_FIXED type and ensure that the MTU and CID values get
properly set.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c