labapart / gattlib

Library to access GATT information from BLE (Bluetooth Low Energy) devices
http://labapart.com/
436 stars 157 forks source link

bluez/gattlib_adapter.c: Fix bug #240

Closed vl-80 closed 2 years ago

vl-80 commented 2 years ago

The checking of the result of the hci_open_dev() function needs to be done on the derefenced value, not the pointer (which can not be negative).

vl-80 commented 2 years ago

This pull request was superseded by #241