[velocity] Correct direction of endianness conversion

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-08-04 08:46:24 +01:00
parent 3b06e419a9
commit 897c87a8fa
+1 -1
View File
@@ -566,7 +566,7 @@ static void velocity_poll_rx ( struct velocity_nic *vlc ) {
rx_idx = ( vlc->rx_cons % VELOCITY_RXDESC_NUM );
desc = &vlc->rx_ring[rx_idx];
des0 = cpu_to_le32 ( desc->des0 );
des0 = le32_to_cpu ( desc->des0 );
/* Return if descriptor still in use */
if ( des0 & VELOCITY_DES0_OWN )