diff options
author | 2014-07-10 13:17:37 +0200 | |
---|---|---|
committer | 2014-07-10 14:57:47 +0300 | |
commit | 2e84d8db91e45964c2b54ccc7da1f9b4bfb1222b (patch) | |
tree | 11bc61566f95a4870f97e5f1dcd37bbaab38cdf4 /net/bluetooth/hci_sock.c | |
parent | Bluetooth: Remove unneeded mgmt_write_scan_failed function (diff) | |
download | wireguard-linux-2e84d8db91e45964c2b54ccc7da1f9b4bfb1222b.tar.xz wireguard-linux-2e84d8db91e45964c2b54ccc7da1f9b4bfb1222b.zip |
Bluetooth: Mark controller is down when HCI_AUTO_OFF is set
During the initial setup phase, the controller is powered on and will
be powered off again if it is not used within the auto-off timeout.
Userspace using ioctl does not know about the difference between the
initial setup phase and a controller being present. It is a bad idea
to keep the controller powered by just looking at the device list or
device information. Instead just tell userspace that the controller
is still down.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
0 files changed, 0 insertions, 0 deletions