diff options
Diffstat (limited to 'drivers/net/tlan.c')
-rw-r--r-- | drivers/net/tlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c index 16f23f84920b..fabaeffb3155 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c | |||
@@ -1755,8 +1755,8 @@ static u32 TLan_HandleStatusCheck( struct net_device *dev, u16 host_int ) | |||
1755 | ! ( tlphy_ctl & TLAN_TC_SWAPOL ) ) { | 1755 | ! ( tlphy_ctl & TLAN_TC_SWAPOL ) ) { |
1756 | tlphy_ctl |= TLAN_TC_SWAPOL; | 1756 | tlphy_ctl |= TLAN_TC_SWAPOL; |
1757 | TLan_MiiWriteReg( dev, phy, TLAN_TLPHY_CTL, tlphy_ctl); | 1757 | TLan_MiiWriteReg( dev, phy, TLAN_TLPHY_CTL, tlphy_ctl); |
1758 | } else if ( ( tlphy_sts & TLAN_TS_POLOK ) | 1758 | } else if ( ( tlphy_sts & TLAN_TS_POLOK ) && |
1759 | && ( tlphy_ctl & TLAN_TC_SWAPOL ) ) { | 1759 | ( tlphy_ctl & TLAN_TC_SWAPOL ) ) { |
1760 | tlphy_ctl &= ~TLAN_TC_SWAPOL; | 1760 | tlphy_ctl &= ~TLAN_TC_SWAPOL; |
1761 | TLan_MiiWriteReg( dev, phy, TLAN_TLPHY_CTL, tlphy_ctl); | 1761 | TLan_MiiWriteReg( dev, phy, TLAN_TLPHY_CTL, tlphy_ctl); |
1762 | } | 1762 | } |