Index: libs/src/hci.c =================================================================== RCS file: /cvsroot/bluez/libs/src/hci.c,v retrieving revision 1.75 diff -u -p -r1.75 hci.c --- libs/src/hci.c 9 Jul 2005 17:09:10 -0000 1.75 +++ libs/src/hci.c 10 Jul 2005 22:40:20 -0000 @@ -522,7 +522,7 @@ static int __same_bdaddr(int dd, int dev int hci_get_route(bdaddr_t *bdaddr) { - return hci_for_each_dev(HCI_UP, __other_bdaddr, + return hci_for_each_dev(HCI_UP, __same_bdaddr, (long) (bdaddr ? bdaddr : BDADDR_ANY)); }