]> sigrok.org Git - libsigrok.git/commit
Ensure device is closed before usb_get_port_path()
authorRomain Tartière <redacted>
Tue, 28 Nov 2017 18:43:50 +0000 (19:43 +0100)
committerUwe Hermann <redacted>
Wed, 21 Feb 2018 10:36:58 +0000 (11:36 +0100)
commit7bbe5a2b6a3cea7bc5b59ca3c34ed4f6fcf8c3b1
tree0dc4e03f752695a2290266d6c2526e02a71aedb3
parent90cc52260c7cebf1c06e0430ab6aebaccda960e9
Ensure device is closed before usb_get_port_path()

The usb_get_port_path() function opens the passed device on FreeBSD,
which fails if the device has already been open.

This fixes bug #1109.
src/hardware/chronovu-la/api.c
src/hardware/dreamsourcelab-dslogic/api.c
src/hardware/fx2lafw/api.c