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>
This commit is contained in:
parent
0e01191e08
commit
401ec439a2
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user