]> Git Repo - qemu.git/commit
hw/net/stellaris_enet: Correct handling of packet padding
authorPeter Maydell <[email protected]>
Tue, 13 May 2014 15:09:36 +0000 (16:09 +0100)
committerPeter Maydell <[email protected]>
Tue, 13 May 2014 15:09:36 +0000 (16:09 +0100)
commit7fd5f064d1c1a827a95ffe678418b3d5b8d2f108
tree2710ff6b49f3e4155c3769fa98dbc511f230b43a
parent5c10495ab1546d5d12b51a97817051e9ec98d0f6
hw/net/stellaris_enet: Correct handling of packet padding

The PADEN bit in the transmit control register enables padding of short
data packets out to the required minimum length. However a typo here
meant we were adjusting tx_fifo_len rather than tx_frame_len, so the
padding didn't actually happen. Fix this bug.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Cc: [email protected]
hw/net/stellaris_enet.c
This page took 0.02548 seconds and 4 git commands to generate.