diff options
author | emax <emax@FreeBSD.org> | 2004-08-10 00:38:50 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-08-10 00:38:50 +0000 |
commit | 726a7fca00cb86d9a23466b7bc446be882f51b06 (patch) | |
tree | b3b996a19c1c82854f6b5567deebe9aa4f110815 /usr.sbin/bluetooth | |
parent | ab3ce7c4d961e57c6a55b9c6834cbc253259ea84 (diff) | |
download | FreeBSD-src-726a7fca00cb86d9a23466b7bc446be882f51b06.zip FreeBSD-src-726a7fca00cb86d9a23466b7bc446be882f51b06.tar.gz |
Introduce ng_hci_inquiry_response structure and use it in the hccontrol(8)
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/link_control.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/link_control.c b/usr.sbin/bluetooth/hccontrol/link_control.c index b90ce00..7d01f04 100644 --- a/usr.sbin/bluetooth/hccontrol/link_control.c +++ b/usr.sbin/bluetooth/hccontrol/link_control.c @@ -146,14 +146,7 @@ wait_for_more: static void hci_inquiry_response(int n, uint8_t **b) { - struct inquiry_response { - bdaddr_t bdaddr; - uint8_t page_scan_rep_mode; - uint8_t page_scan_period_mode; - uint8_t page_scan_mode; - uint8_t class[NG_HCI_CLASS_SIZE]; - uint16_t clock_offset; - } *ir = (struct inquiry_response *)(*b); + ng_hci_inquiry_response *ir = (ng_hci_inquiry_response *)(*b); fprintf(stdout, "Inquiry result #%d\n", n); fprintf(stdout, "\tBD_ADDR: %s\n", hci_bdaddr2str(&ir->bdaddr)); |