]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: eth: fix features 21778/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 30 Jan 2026 13:05:59 +0000 (14:05 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 1 Feb 2026 10:27:58 +0000 (11:27 +0100)
"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@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21778
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c

index fb41b3775c43c85439d3bd112c688aa9aab04e47..569a2c6603f095635415cc24aea57adb2eee1a6f 100644 (file)
@@ -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;