]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Reorder HCI user channel socket release
authorLoic Poulain <loic.poulain@intel.com>
Thu, 21 May 2015 14:46:41 +0000 (16:46 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jun 2015 18:49:04 +0000 (20:49 +0200)
commit36a521be6384595940c4fc2f6e7ce045fecd9cdb
tree515dd51fa977289b372207dc25c090ea932cc699
parent7eea75758f5e381224a40b24d700fef815f08907
Bluetooth: Reorder HCI user channel socket release

The hci close method needs to know if we are in user channel context.
Only add the index to mgmt once close is performed.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sock.c