Skip to content

Commit 065c31f

Browse files
Justin Laikuba-moo
authored andcommitted
rtase: Fix Rx descriptor CRC error bit definition
The CRC error bit is located at bit 17 in the Rx descriptor, but the driver was incorrectly using bit 16. Fix it. Fixes: a36e9f5 ("rtase: Add support for a pci table in this module") Signed-off-by: Justin Lai <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 8c06cbd commit 065c31f

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/realtek/rtase

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/rtase/rtase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ union rtase_rx_desc {
241241
#define RTASE_RX_RES BIT(20)
242242
#define RTASE_RX_RUNT BIT(19)
243243
#define RTASE_RX_RWT BIT(18)
244-
#define RTASE_RX_CRC BIT(16)
244+
#define RTASE_RX_CRC BIT(17)
245245
#define RTASE_RX_V6F BIT(31)
246246
#define RTASE_RX_V4F BIT(30)
247247
#define RTASE_RX_UDPT BIT(29)

0 commit comments

Comments
 (0)