aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2007-05-02 07:52:55 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2007-05-02 07:52:55 +0000
commitc0194db36564e67eaeca70df7b7fc16569aa5899 (patch)
tree1ee1b29b89546d949943f6b8fca1eef336e14f63 /sys/net
parent9fbf190fc5252f8de296c3e2eec0250dc672c268 (diff)
Notes
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ieee8023ad_lacp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/ieee8023ad_lacp.c b/sys/net/ieee8023ad_lacp.c
index d84a0c86628a..83b071b4a3d2 100644
--- a/sys/net/ieee8023ad_lacp.c
+++ b/sys/net/ieee8023ad_lacp.c
@@ -373,7 +373,7 @@ lacp_linkstate(struct lagg_port *lgp)
old_key = lp->lp_key;
lp->lp_media = media;
- if ((media & IFM_HDX) != 0 || ifp->if_link_state == LINK_STATE_DOWN) {
+ if ((media & IFM_FDX) == 0 || ifp->if_link_state == LINK_STATE_DOWN) {
lacp_port_disable(lp);
} else {
lacp_port_enable(lp);