summaryrefslogtreecommitdiffstats
path: root/hcid/manager.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-09 19:05:49 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:37:12 -0300
commit51e6fcc051fe21c8359dd7d1981a5b38c59a4b9d (patch)
treeb9b5b7e16ea9236dc0338858710e1de324758351 /hcid/manager.c
parent62600e4b58d883456d446402106f60201b0ee954 (diff)
Remove legacy code.
Diffstat (limited to 'hcid/manager.c')
-rw-r--r--hcid/manager.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/hcid/manager.c b/hcid/manager.c
index 41ad9f04..9673b4f4 100644
--- a/hcid/manager.c
+++ b/hcid/manager.c
@@ -69,31 +69,6 @@ static DBusConnection *connection = NULL;
static int default_adapter_id = -1;
static GSList *adapters = NULL;
-struct hci_peer {
- struct timeval lastseen;
- struct timeval lastused;
-
- bdaddr_t bdaddr;
- uint32_t class;
- int8_t rssi;
- uint8_t data[240];
- uint8_t name[248];
-
- uint8_t pscan_rep_mode;
- uint8_t pscan_period_mode;
- uint8_t pscan_mode;
- uint16_t clock_offset;
-
- struct hci_peer *next;
-};
-
-struct hci_conn {
- bdaddr_t bdaddr;
- uint16_t handle;
-
- struct hci_conn *next;
-};
-
struct hci_dev {
int ignore;
@@ -107,9 +82,6 @@ struct hci_dev {
uint8_t ssp_mode;
uint8_t name[248];
uint8_t class[3];
-
- struct hci_peer *peers;
- struct hci_conn *conns;
};
static struct hci_dev devices[MAX_DEVICES];