diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-07-08 00:22:39 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-07-07 21:21:21 -0700 |
| commit | 9671a42e4508db8a0196110b098fd8550304ab14 (patch) | |
| tree | 399a3c63fc22a897f70dc10fbf00218c49da2e12 /lib/mpi | |
| parent | b44592ffb8e0da32f1d17f1586a9d2c59dd152a1 (diff) | |
net: fec: fix ethtool set_pauseparam duplex bug
Setting the pause parameters causes a running network interface to be
restarted. However, the restart forces the FEC into half-duplex mode,
whether or not the remote end is in half-duplex mode. Misconfigured
duplex mode is a known source of problems on a link.
Fix this by always preserving the duplex mode on configuration changes.
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions
