From 8bb2cf1165b3be2549e93a6ec7e0673ade4814e5 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 6 Aug 2008 01:51:36 +0200 Subject: Remove deprecated hci_local_name and hci_remote_name functions --- include/hci_lib.h | 3 --- lib/hci.c | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/include/hci_lib.h b/include/hci_lib.h index ccd155a5..007dd94c 100644 --- a/include/hci_lib.h +++ b/include/hci_lib.h @@ -114,9 +114,6 @@ int hci_read_rssi(int dd, uint16_t handle, int8_t *rssi, int to); int hci_read_afh_map(int dd, uint16_t handle, uint8_t *mode, uint8_t *map, int to); int hci_read_clock(int dd, uint16_t handle, uint8_t which, uint32_t *clock, uint16_t *accuracy, int to); -int hci_local_name(int dd, int len, char *name, int to); -int hci_remote_name(int dd, const bdaddr_t *bdaddr, int len, char *name, int to); - int hci_for_each_dev(int flag, int(*func)(int dd, int dev_id, long arg), long arg); int hci_get_route(bdaddr_t *bdaddr); diff --git a/lib/hci.c b/lib/hci.c index a72b0355..1b12d833 100644 --- a/lib/hci.c +++ b/lib/hci.c @@ -2477,13 +2477,3 @@ int hci_read_clock(int dd, uint16_t handle, uint8_t which, uint32_t *clock, uint *accuracy = rp.accuracy; return 0; } - -int hci_local_name(int dd, int len, char *name, int to) -{ - return hci_read_local_name(dd, len, name, to); -} - -int hci_remote_name(int dd, const bdaddr_t *bdaddr, int len, char *name, int to) -{ - return hci_read_remote_name(dd, bdaddr, len, name, to); -} -- cgit