diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-11 20:45:46 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-11 20:57:39 +0100 |
commit | 1aeb9c651c06282e84c33eb838d1069582879af8 (patch) | |
tree | 871f1d260553221fc42dfcca5c3f1ea5ffb1a0b1 /.gitignore | |
parent | Bluetooth: Fix incorrect pending cmd removal in pairing_complete() (diff) | |
download | linux-1aeb9c651c06282e84c33eb838d1069582879af8.tar.xz linux-1aeb9c651c06282e84c33eb838d1069582879af8.zip |
Bluetooth: Fix notifying mgmt power off before flushing connection list
This patch moves the mgmt_powered() notification earlier in the
hci_dev_do_close() function. This way the correct "not powered" error
gets passed to any pending mgmt commands. Without the patch the pending
commands would instead get a misleading "disconnected" response when
powering down the adapter.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions