HCI_UNCONFIGURED
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
hci_dev_set_flag(hdev, HCI_UNCONFIGURED);
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
hci_dev_test_flag(hdev, HCI_UNCONFIGURED) ||
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
hci_dev_set_flag(hdev, HCI_UNCONFIGURED);
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
!hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
!auto_off && !hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
hci_dev_test_flag(hdev, HCI_UNCONFIGURED) ||
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
if (!hci_dev_test_flag(d, HCI_UNCONFIGURED))
if (!hci_dev_test_flag(d, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(d, HCI_UNCONFIGURED))
if (hci_dev_test_flag(d, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(d, HCI_UNCONFIGURED))
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) == is_configured(hdev)) {
if (hci_dev_test_and_change_flag(hdev, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
hci_dev_clear_flag(hdev, HCI_UNCONFIGURED);
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {