diff options
author | Johan Gunnarsson <johan.gunnarsson@axis.com> | 2012-08-24 13:32:45 +0200 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-06 19:34:37 +0100 |
commit | 517f88b51e1814c4904ecbad82c18e1b68a99f40 (patch) | |
tree | 26d49969199f664aa0247ec05de16170acc74116 /at76c50x-usb.c | |
parent | 0a74e37f7052bde56f52eae84b7f15df408fbc05 (diff) | |
download | ethtool-517f88b51e1814c4904ecbad82c18e1b68a99f40.tar.gz |
ethtool: don't overwrite useful bits in advertising bitfield
There are bits in this bitfield that we want to leave untouched (PAUSE
and ASYM_PAUSE bits) when changing other bits (speed and duplex bits.)
Previously, these were always overwritten to zero when running commands
like "ethtool -s eth0 speed 10 duplex full autoneg off".
Signed-off-by: Johan Gunnarsson <johangu@axis.com>
[bwh: Fixed spelling and formatting]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'at76c50x-usb.c')
0 files changed, 0 insertions, 0 deletions