]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Make Fast Connectable available while powered off
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Mar 2015 18:14:27 +0000 (20:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 10 Mar 2015 18:37:02 +0000 (19:37 +0100)
commit65cb99c98c58ce4d1656db9c8806a8df5e3a33d2
tree1c07b55741dcef767b510d6be85c5d778da42c8a
parent5e5cd1554fc1eb7286df88499965d8b4048961d1
Bluetooth: Make Fast Connectable available while powered off

To maximize the usability of the Fast Connectable feature we should make
it possible to set (or unset) it at any given moment. This means
removing the dependency on the 'connectable' setting as well as the
'powered' setting. The former makes also sense since page scan may get
enabled through add_device even if 'connectable' is false. To keep the
setting available over power cycles its flag also needs to be removed
from the flags that are cleared upon HCI_Reset.

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