Don't call read scan enable if the adapter is powering down

When powering down we explicitly set the scan mode to 0 before calling
the HCI_DEVDOWN ioctl. To avoid HCI command timeouts track this
situation and don't call read scan enable in dbus-hci.c when the command
complete for the write scan enable arrives.
3 files changed