lp:~bluetooth/+git/linux-bluetooth

Owned by Bluetooth
Get this repository:
git clone https://git.launchpad.net/~bluetooth/+git/linux-bluetooth
Members of Bluetooth can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
bluetooth-3.10 2015-12-15 08:27:09 UTC
UBUNTU: SAUCE: Bluetooth: close HCI device when user channel socket gets closed

Author: Simon Fels
Author Date: 2015-09-02 10:10:12 UTC

UBUNTU: SAUCE: Bluetooth: close HCI device when user channel socket gets closed

With 9380f9eacfbbee701daa416edd6625efcd3e29e1 the order of unsetting
the HCI_USER_CHANNEL flag of the HCI device was reverted to ensure
the device is first closed before making it available again.

Due to hci_dev_close checking for HCI_USER_CHANNEL being set on the
device it was never really closed and was kept opened. We're now
calling hci_dev_do_close directly to make sure the device is correctly
closed and we keep the correct order to unset the flag on our device
object.

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
(cherry picked from bluetooth-next 4c63f83c2c2e16a13ce274ee678e28246bd33645)
BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

bluetooth-3.4 2015-12-15 08:26:06 UTC
UBUNTU: SAUCE: Bluetooth: close HCI device when user channel socket gets closed

Author: Simon Fels
Author Date: 2015-09-02 10:10:12 UTC

UBUNTU: SAUCE: Bluetooth: close HCI device when user channel socket gets closed

With 9380f9eacfbbee701daa416edd6625efcd3e29e1 the order of unsetting
the HCI_USER_CHANNEL flag of the HCI device was reverted to ensure
the device is first closed before making it available again.

Due to hci_dev_close checking for HCI_USER_CHANNEL being set on the
device it was never really closed and was kept opened. We're now
calling hci_dev_do_close directly to make sure the device is correctly
closed and we keep the correct order to unset the flag on our device
object.

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
(cherry picked from bluetooth-next 4c63f83c2c2e16a13ce274ee678e28246bd33645)
BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

12 of 2 results
This repository contains Public information 
Everyone can see this information.

Subscribers