[Spice-devel] [PATCH spice-gtk 24/44] fixup! usb-redir: add files for SCSI and USB MSC implementation

Frediano Ziglio fziglio at redhat.com
Tue Jul 30 12:03:12 UTC 2019


Fix typo in comment.
---
 src/cd-usb-bulk-msd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cd-usb-bulk-msd.c b/src/cd-usb-bulk-msd.c
index 89e94f8e..bb49e0d4 100644
--- a/src/cd-usb-bulk-msd.c
+++ b/src/cd-usb-bulk-msd.c
@@ -370,7 +370,7 @@ static void usb_cd_send_data_in(UsbCdBulkMsdDevice *cd, uint32_t max_len)
         usb_req->xfer_len += send_len;
         if (usb_req->xfer_len == usb_req->scsi_in_len) {
             /* all data for this bulk has been transferred */
-            if (usb_req->scsi_in_len == usb_req->usb_req_len || /* req fully satisfiled */
+            if (usb_req->scsi_in_len == usb_req->usb_req_len || /* req fully satisfied */
                 send_len < max_len) { /* partial bulk - no more data */
                 cd_usb_bulk_msd_set_state(cd, USB_CD_STATE_CSW);
             } else {
-- 
2.20.1



More information about the Spice-devel mailing list