From: Markus Stockhausen Date: Fri, 30 Jan 2026 13:05:59 +0000 (+0100) Subject: realtek: eth: fix features X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401ec439a2a52cc10e7e66abc329a4125bdf92e5;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/21778 Signed-off-by: Robert Marko --- 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 fb41b3775c4..569a2c6603f 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;