aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/common
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2019-02-25 15:47:22 +0000
committerNavdeep Parhar <np@FreeBSD.org>2019-02-25 15:47:22 +0000
commitd18c10d0666132a7ce25f08dde6fd066fdeec9a1 (patch)
treee6ed542c6b3167600285029ff6b356741b3b55c8 /sys/dev/cxgbe/common
parent9a593520b556b1d126fbf74c17a69101e1b4bcae (diff)
Notes
Diffstat (limited to 'sys/dev/cxgbe/common')
-rw-r--r--sys/dev/cxgbe/common/t4_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/common/t4_hw.c b/sys/dev/cxgbe/common/t4_hw.c
index 5c587f04da7be..3fab4dee59a67 100644
--- a/sys/dev/cxgbe/common/t4_hw.c
+++ b/sys/dev/cxgbe/common/t4_hw.c
@@ -3894,7 +3894,7 @@ int t4_link_l1cfg(struct adapter *adap, unsigned int mbox, unsigned int port,
speed = fwcap_top_speed(lc->supported);
/* Force AN on for BT cards. */
- if (is_bt(adap->port[port]))
+ if (is_bt(adap->port[adap->chan_map[port]]))
aneg = lc->supported & FW_PORT_CAP32_ANEG;
rcap = aneg | speed | fc | fec;