Extend the autodetach behavior
Detach interfaces before trying to change the config, as libusb doesn't handle that automatically.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user