Bluetooth: Remove superfluous extra empty line between functions
[firefly-linux-kernel-4.4.55.git] / net / bluetooth / hci_conn.c
index 5444e194eb4eaabecaaf53db954a4f5a7eeae671..ee5e59839b0294a6db0ea95f9f3eda4db0e4c503 100644 (file)
@@ -700,7 +700,7 @@ static void hci_req_directed_advertising(struct hci_request *req,
         * and write a new random address. The flag will be set back on
         * as soon as the SET_ADV_ENABLE HCI command completes.
         */
-       clear_bit(HCI_LE_ADV, &hdev->dev_flags);
+       hci_dev_clear_flag(hdev, HCI_LE_ADV);
 
        /* Set require_privacy to false so that the remote device has a
         * chance of identifying us.
@@ -842,7 +842,7 @@ struct hci_conn *hci_connect_le(struct hci_dev *hdev, bdaddr_t *dst,
         */
        if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) {
                hci_req_add_le_scan_disable(&req);
-               set_bit(HCI_LE_SCAN_INTERRUPTED, &hdev->dev_flags);
+               hci_dev_set_flag(hdev, HCI_LE_SCAN_INTERRUPTED);
        }
 
        hci_req_add_le_create_conn(&req, conn);