Skip to content
Commit cf62cb72 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: calxedaxgmac: fix condition in xgmac_set_features()



The "changed" variable should be a 64 bit type, otherwise it can't store
all the features.  The way the code is now the test for whether
NETIF_F_RXCSUM changed is always false and we return immediately.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a4e0d6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment