]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Assign the channel early when binding HCI sockets
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Aug 2016 03:00:37 +0000 (05:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commitbb1691a1e6ad212ee9627ddbcdc2d1429e29d0e3
treebaf25e5dbf080e43db99af9b5a5399904e439b35
parentf1d23de4c97d45d679a25675955d2fa23cde6171
Bluetooth: Assign the channel early when binding HCI sockets

Assignment of the hci_pi(sk)->channel should be done early when binding
the HCI socket. This avoids confusion with the RAW channel that is used
for legacy access.

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