mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 23:02:40 +00:00
Acount for transfer->size being size-1 when counting *actual
This commit is contained in:
1 parent
52d8255d20
commit
2823526d28
1 file changed
+1
-1
+1
-1
@@ -989,7 +989,7 @@ grub_ohci_transfer (grub_usb_controller_t dev,
|
||||
transfer->last_trans = tderr_virt->tr_index;
|
||||
else
|
||||
transfer->last_trans = -1;
|
||||
*actual = transfer->size;
|
||||
*actual = transfer->size + 1;
|
||||
}
|
||||
|
||||
else if (err_halt) /* error, ED is halted by OHCI, i.e. can be modified */
|
||||
|
||||
Reference in new issue
Block a user