usb_block_drv: handle USB state at startup

Fix #4293
This commit is contained in:
Stefan Kalkowski 2021-10-11 11:17:44 +02:00 committed by Norman Feske
parent c79cdc7b39
commit 1508fdc276

View File

@ -798,6 +798,7 @@ struct Usb::Block_driver : Usb::Completion
reporter.enabled(true); reporter.enabled(true);
/* USB device gets initialized by handle_state_change() */ /* USB device gets initialized by handle_state_change() */
handle_state_change();
} }
~Block_driver() ~Block_driver()