diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2016-07-04 19:21:44 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-07-04 19:21:44 +0200 |
commit | 12cd2eda1a7648833ddfa39c0d02c90693fd2d99 (patch) | |
tree | a35fa517d2f8137b3dad160f1fd60660962db7bf /tools/cltest.c | |
parent | 03f0497691537681a75fe498a6ca97e3f9dfbb64 (diff) | |
download | bluez-12cd2eda1a7648833ddfa39c0d02c90693fd2d99.tar.gz |
lib: Define HCI_PRIMARY and use it instead of HCI_BREDR
Diffstat (limited to 'tools/cltest.c')
-rw-r--r-- | tools/cltest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cltest.c b/tools/cltest.c index 95fa7b637..44a17a892 100644 --- a/tools/cltest.c +++ b/tools/cltest.c @@ -228,7 +228,7 @@ static bool find_controllers(void) if (ioctl(fd, HCIGETDEVINFO, (void *) &di) < 0) continue; - if (((di.type & 0x30) >> 4) != HCI_BREDR) + if (((di.type & 0x30) >> 4) != HCI_PRIMARY) continue; if (!bacmp(&bdaddr_src, BDADDR_ANY)) { |