HCI_AUTH
if (!test_bit(HCI_AUTH, &hdev->flags)) {
if (test_bit(HCI_AUTH, &hdev->flags))
set_bit(HCI_AUTH, &hdev->flags);
clear_bit(HCI_AUTH, &hdev->flags);
if (link_sec == test_bit(HCI_AUTH, &hdev->flags))
if (test_bit(HCI_AUTH, &hdev->flags))
if (test_bit(HCI_AUTH, &hdev->flags) == val) {