diff --git a/src/adapter.c b/src/adapter.c
index bcd906e..aaae7c4 100644
--- a/src/adapter.c
+++ b/src/adapter.c
if (!mgmt_powered(adapter->current_settings))
return -EINVAL;
- return mgmt_read_clock(adapter->dev_id, bdaddr, which,
- timeout, clock, accuracy);
+ return -ENOSYS;
}
int btd_adapter_disconnect_device(struct btd_adapter *adapter,
diff --git a/src/mgmt.c b/src/mgmt.c
index 9fefb58..9e75389 100644
--- a/src/mgmt.c
+++ b/src/mgmt.c
return 0;
}
-int mgmt_read_clock(int index, const bdaddr_t *bdaddr, int which, int timeout,
- uint32_t *clock, uint16_t *accuracy)
-{
- char addr[18];
-
- ba2str(bdaddr, addr);
- DBG("index %d addr %s which %d timeout %d", index, addr, which,
- timeout);
-
- return -ENOSYS;
-}
-
int mgmt_block_device(int index, const bdaddr_t *bdaddr, uint8_t bdaddr_type)
{
char buf[MGMT_HDR_SIZE + sizeof(struct mgmt_cp_block_device)];
diff --git a/src/mgmt.h b/src/mgmt.h
index a39a4ed..8fe149a 100644
--- a/src/mgmt.h
+++ b/src/mgmt.h
int mgmt_start_le_scanning(int index);
int mgmt_stop_discovery(int index);
-int mgmt_read_clock(int index, const bdaddr_t *bdaddr, int which, int timeout,
- uint32_t *clock, uint16_t *accuracy);
-
int mgmt_block_device(int index, const bdaddr_t *bdaddr, uint8_t bdaddr_type);
int mgmt_unblock_device(int index, const bdaddr_t *bdaddr, uint8_t bdaddr_type);