diff options
| author | Michael Brown | 2015-06-01 14:47:34 +0200 |
|---|---|---|
| committer | Michael Brown | 2015-06-01 15:00:25 +0200 |
| commit | 982b051cbc003b69d46e0ba5b00ca888fbb45512 (patch) | |
| tree | d0404c75ef51fcec372a01afd32daab308669a55 /src/include/compiler.h | |
| parent | [neighbour] Return success when deferring a packet (diff) | |
| download | ipxe-982b051cbc003b69d46e0ba5b00ca888fbb45512.tar.gz ipxe-982b051cbc003b69d46e0ba5b00ca888fbb45512.tar.xz ipxe-982b051cbc003b69d46e0ba5b00ca888fbb45512.zip | |
[xhci] Fix length of allocated slot array
The xHCI slot ID is one-based, not zero-based. Fix the length of the
xhci->slot[] array to account for this, and add assertions to check
that the hardware returns a valid slot ID in response to the Enable
Slot command.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/compiler.h')
0 files changed, 0 insertions, 0 deletions
