Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22fd5ab4 authored by Manish chopra's avatar Manish chopra Committed by David S. Miller
Browse files

qlcnic: Fix RX/TX checksum setting for some adapter types

parent 4d53f40f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -932,7 +932,8 @@ netdev_features_t qlcnic_fix_features(struct net_device *netdev,
{
	struct qlcnic_adapter *adapter = netdev_priv(netdev);

	if ((adapter->flags & QLCNIC_ESWITCH_ENABLED)) {
	if ((adapter->flags & QLCNIC_ESWITCH_ENABLED) &&
	    qlcnic_82xx_check(adapter)) {
		netdev_features_t changed = features ^ netdev->features;
		features ^= changed & (NETIF_F_ALL_CSUM | NETIF_F_RXCSUM);
	}