[openwrt/openwrt] realtek: eth: fix features
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 1 02:28:07 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/401ec439a2a52cc10e7e66abc329a4125bdf92e5
commit 401ec439a2a52cc10e7e66abc329a4125bdf92e5
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Fri Jan 30 14:05:59 2026 +0100
realtek: eth: fix features
"features" describes the currently active device options and
"hw_features" describes all possible ones. So hw_features must
be a superset of features. Fix that.
Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21778
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c b/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
index fb41b3775c..569a2c6603 100644
--- a/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
+++ b/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
@@ -1696,7 +1696,7 @@ static int rtl838x_eth_probe(struct platform_device *pdev)
dev->ethtool_ops = &rteth_ethtool_ops;
dev->min_mtu = ETH_ZLEN;
dev->max_mtu = DEFAULT_MTU;
- dev->features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM;
+ dev->features = NETIF_F_RXCSUM;
dev->hw_features = NETIF_F_RXCSUM;
dev->netdev_ops = ctrl->r->netdev_ops;
More information about the lede-commits
mailing list