]> git.hungrycats.org Git - linux/commitdiff
Tigon3 fix:
authorGrant Grundler <grundler@cup.hp.com>
Tue, 7 May 2002 11:24:46 +0000 (04:24 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Tue, 7 May 2002 11:24:46 +0000 (04:24 -0700)
- Fix typo in setting MR_LP_ADV duplex flags.

drivers/net/tg3.c

index 8f67b859c67c71dcedc910670ba6cc41212f36ab..48ba1b4cbc758c828b445a1c978cbd5d700c7cb2 100644 (file)
@@ -1211,7 +1211,7 @@ static int tg3_fiber_aneg_smachine(struct tg3 *tp,
                if (ap->rxconfig & ANEG_CFG_FD)
                        ap->flags |= MR_LP_ADV_FULL_DUPLEX;
                if (ap->rxconfig & ANEG_CFG_HD)
-                       ap->flags |= MR_LP_ADV_FULL_DUPLEX;
+                       ap->flags |= MR_LP_ADV_HALF_DUPLEX;
                if (ap->rxconfig & ANEG_CFG_PS1)
                        ap->flags |= MR_LP_ADV_SYM_PAUSE;
                if (ap->rxconfig & ANEG_CFG_PS2)