phy: unmask link partner capabilities
authorCristian Bercaru <cristian.bercaru@freescale.com>
Tue, 25 Feb 2014 08:22:48 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 23:39:09 +0000 (18:39 -0500)
Masking the link partner's capabilities with local capabilities can be
misleading in autonegotiation scenarios such as PAUSE frame
autonegotiation.
This patch calculates the join between the local capabilities and the
link parner capabilities, when it determines the speed and duplex
settings, but does not mask any of the link partner capabilities when
it calculates PAUSE frame settings.

Signed-off-by: Cristian Bercaru <cristian.bercaru@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found