]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita357caff9235b32a392bf28e543c46db4ad1845f
tree425df2304948783f3794331c313b7086d9933344
parent8cab6c823779fa4fd1fa138765a4b0ff75857876
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