mirror of
https://github.com/apache/nuttx.git
synced 2026-09-11 22:12:46 +08:00
The scsi thread was waiting for the wrong condition. However, this was masked by the fact that the code creating the scsi thread was also holding usbmsc_scsi_lock(priv) while initializing data, hence this lock synchronized the scsi thread start with init completion.