Extend the autodetach behavior

Detach interfaces before trying to change the config, as libusb doesn't handle that automatically.
This commit is contained in:
Nico MT
2017-07-21 21:15:49 +02:00
committed by zagrodzki
parent 9829f2fcba
commit bc91dd3f2c
6 changed files with 79 additions and 6 deletions

View File

@@ -76,6 +76,6 @@ func TestEndpointReadStream(t *testing.T) {
got += num
}
if got != want {
t.Errorf("%s.Read(): read %d bytes, want %d")
t.Errorf("stream.Read(): read %d bytes, want %d", got, want)
}
}