diff options
| author | Markus Stockhausen | 2026-01-30 13:05:59 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-02-01 10:27:58 +0000 |
| commit | 401ec439a2a52cc10e7e66abc329a4125bdf92e5 (patch) | |
| tree | ff69be220c345acf6844733be63c38069a384a7a | |
| parent | 0e01191e084783611b111da1db90e40b37cba7b3 (diff) | |
| download | openwrt-401ec439a2a52cc10e7e66abc329a4125bdf92e5.tar.gz | |
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@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21778
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |