summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-02 17:23:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-02 17:23:11 +0000
commit0fd8d0fad8c5f4b6d04ae2497c479ff43a38b5da (patch)
treea17d4c595475802b678c0a472634459b1dcb909b
parentd413a9639e91a34899b1366c08d9772b1ca3beb1 (diff)
downloadmtk-20170518-0fd8d0fad8c5f4b6d04ae2497c479ff43a38b5da.zip
mtk-20170518-0fd8d0fad8c5f4b6d04ae2497c479ff43a38b5da.tar.gz
mtk-20170518-0fd8d0fad8c5f4b6d04ae2497c479ff43a38b5da.tar.bz2
fix a bitmask in the ag71xx driver
SVN-Revision: 16658
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
index 1d22453..9037b13 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
@@ -82,7 +82,7 @@ struct ag71xx_desc {
u32 ctrl;
#define DESC_EMPTY BIT(31)
#define DESC_MORE BIT(24)
-#define DESC_PKTLEN_M 0x1fff
+#define DESC_PKTLEN_M 0xfff
u32 next;
u32 pad;
};