For switch egress ports, fix rate setting for an extended speed port

Signed-off-by: Hal Rosenstock <h...@mellanox.com>
---
 opensm/osm_sa_path_record.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/osm_sa_path_record.c b/opensm/osm_sa_path_record.c
index 02aeb9f..e7ac607 100644
--- a/opensm/osm_sa_path_record.c
+++ b/opensm/osm_sa_path_record.c
@@ -385,7 +385,7 @@ static ib_api_status_t pr_rcv_get_path_parms(IN osm_sa_t * 
sa,
                                          ib_port_info_compute_rate(p_pi,
                                                                    
p_pi0->capability_mask & IB_PORT_CAP_HAS_EXT_SPEEDS)) > 0)
                        rate = ib_port_info_compute_rate(p_pi,
-                                                        p_pi->capability_mask 
& IB_PORT_CAP_HAS_EXT_SPEEDS);
+                                                        p_pi0->capability_mask 
& IB_PORT_CAP_HAS_EXT_SPEEDS);
 
                if (sa->p_subn->opt.qos) {
                        /*
-- 
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to