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>
Thu, 1 Sep 2016 16:34:26 +0000 (18:34 +0200)
commit215748771d22f88cbfd7dfb4d3b091a99ccc2499
tree42bce906c5255f40676c60db3d96c5c222aff843
parent12349d7b88c585ce868d8c4b848d9e5471b7134e
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
This page took 0.034714 seconds and 5 git commands to generate.