Parcourir la source

fix a bitmask in the ag71xx driver

SVN-Revision: 16658
Gabor Juhos il y a 16 ans
Parent
commit
0fd8d0fad8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h

+ 1 - 1
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h

@@ -82,7 +82,7 @@ struct ag71xx_desc {
 	u32	ctrl;
 	u32	ctrl;
 #define DESC_EMPTY	BIT(31)
 #define DESC_EMPTY	BIT(31)
 #define DESC_MORE	BIT(24)
 #define DESC_MORE	BIT(24)
-#define DESC_PKTLEN_M	0x1fff
+#define DESC_PKTLEN_M	0xfff
 	u32	next;
 	u32	next;
 	u32	pad;
 	u32	pad;
 };
 };