commit | cf62cb72d63944f4dcc7376efd84959afc9366cb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 25 10:44:20 2013 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 25 03:50:17 2013 -0400 |
tree | 34872c22d8e9e3ea6f266333e59fc1add8c0ee63 | |
parent | 3a4e0d6a95b2b6f7b22eb7c7361a0fc4289478eb [diff] |
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>