]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix CID initialization for fixed channels
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 25 Jan 2014 22:10:09 +0000 (17:10 -0500)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:37 +0000 (09:51 +0200)
commit0961af218bc1a8da4ca36a5052eb50f30a5542c4
tree67ed961eef036b7ba6ad6a9bec7957ae70e7a49d
parentd0ab8e75515048616454e958bbcc799376801863
Bluetooth: Fix CID initialization for fixed channels

Fixed channels have the same source and destination CID. Ensure that the
values get properly initialized when receiving incoming connections and
deriving values from the parent socket.

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