diff options
-rw-r--r-- | src/hci.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -425,6 +425,7 @@ int hci_devid(char *str) if (hci_devba(id, &ba) < 0) return -1; } else { + errno = ENODEV; str2ba(str, &ba); id = hci_for_each_dev(HCI_UP, __same_bdaddr, (long) &ba); } |