hci_cancel_connect_sync
int hci_cancel_connect_sync(struct hci_dev *hdev, struct hci_conn *conn);
if (!hci_cancel_connect_sync(hdev, conn))