mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
parent
68ec33b0d3
commit
c6e4f5914e
@ -410,8 +410,10 @@ struct Usb::Block_driver : Usb::Completion,
|
||||
iface.control_transfer(p, 0x21, 0xff, 0, active_interface, 100);
|
||||
if (!p.succeded) {
|
||||
Genode::error("Could not reset device");
|
||||
iface.release(p);
|
||||
throw -1;
|
||||
}
|
||||
iface.release(p);
|
||||
|
||||
/*
|
||||
* Let us do GetMaxLUN and simply ignore the return value because none
|
||||
|
Loading…
x
Reference in New Issue
Block a user