X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUsb%2FUsbMassStorageDxe%2FUsbMassCbi.c;fp=MdeModulePkg%2FBus%2FUsb%2FUsbMassStorageDxe%2FUsbMassCbi.c;h=477f0536d673903b1a96ac665bc376a6d24b404c;hp=1e5508c7567456acf8fee01de98aa15cffc51d9b;hb=957ca63190bc2770d0383408bf87587112e84881;hpb=5099057fb8cd62731054041535431749951cb5b6 diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c index 1e5508c756..477f0536d6 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c @@ -305,7 +305,7 @@ UsbCbiDataTransfer ( if (TransStatus == EFI_USB_ERR_NAK) { // // The device can NAK the host if either the data/buffer isn't - // aviable or the command is in-progress. + // available or the command is in-progress. // If data are partially transferred, we just ignore NAK and continue. // If all data have been transferred and status is NAK, then we retry for several times. // If retry exceeds the USB_CBI_MAX_RETRY, then return error status. @@ -378,7 +378,7 @@ UsbCbiGetStatus ( Timeout = Timeout / USB_MASS_1_MILLISECOND; // - // Attemp to the read the result from interrupt endpoint + // Attempt to the read the result from interrupt endpoint // for (Retry = 0; Retry < USB_CBI_MAX_RETRY; Retry++) { TransStatus = 0;