diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-10 13:17:37 +0200 |
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-10 14:57:47 +0300 |
| commit | 2e84d8db91e45964c2b54ccc7da1f9b4bfb1222b (patch) | |
| tree | 11bc61566f95a4870f97e5f1dcd37bbaab38cdf4 /lib/cpu-notifier-error-inject.c | |
| parent | 13a779e42251184d0f53a8f8299ced614faa028f (diff) | |
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 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
