[OPENSM] Temp fix for broken SRP operation; revert back to working code. Real fix...
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 24 Dec 2009 00:40:46 +0000 (00:40 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 24 Dec 2009 00:40:46 +0000 (00:40 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2645 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/opensm/osm_sa_path_record.c

index 1b81bc8..8584869 100644 (file)
@@ -792,7 +792,7 @@ static void pr_rcv_build_pr(IN osm_sa_t * sa, IN const osm_port_t * p_src_port,
 \r
        /* Only set HopLimit if going through a router */\r
        if (is_nonzero_gid)\r
-               p_pr->hop_flow_raw |= cl_hton32(IB_HOPLIMIT_MAX);\r
+               p_pr->hop_flow_raw |= IB_HOPLIMIT_MAX;\r
 \r
        p_pr->pkey = p_parms->pkey;\r
        ib_path_rec_set_sl(p_pr, p_parms->sl);\r