HCI_USER_CHANNEL
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
hci_dev_test_flag(d, HCI_USER_CHANNEL))
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
hci_dev_test_flag(hdev, HCI_USER_CHANNEL)))
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
if (hci_dev_test_and_set_flag(hdev, HCI_USER_CHANNEL)) {
hci_dev_clear_flag(hdev, HCI_USER_CHANNEL);
hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
hci_dev_clear_flag(hdev, HCI_USER_CHANNEL);
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
hci_dev_test_and_clear_flag(hdev, HCI_USER_CHANNEL);
hci_dev_set_flag(hdev, HCI_USER_CHANNEL);
if (!auto_off && !hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
hci_dev_test_flag(d, HCI_USER_CHANNEL))
hci_dev_test_flag(d, HCI_USER_CHANNEL))
hci_dev_test_flag(d, HCI_USER_CHANNEL))