]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/infiniband/core/verbs.c
sony-laptop: complete the motion eye camera support in sony-laptop
[linux-2.6-omap-h63xx.git] / drivers / infiniband / core / verbs.c
index 8b5dd3649bbf37e8c0679393506a30a46d879e38..ccdf93d30b0166a09d4ae237553db33ffe4aebba 100644 (file)
@@ -167,7 +167,7 @@ int ib_init_ah_from_wc(struct ib_device *device, u8 port_num, struct ib_wc *wc,
                ah_attr->grh.sgid_index = (u8) gid_index;
                flow_class = be32_to_cpu(grh->version_tclass_flow);
                ah_attr->grh.flow_label = flow_class & 0xFFFFF;
-               ah_attr->grh.hop_limit = grh->hop_limit;
+               ah_attr->grh.hop_limit = 0xFF;
                ah_attr->grh.traffic_class = (flow_class >> 20) & 0xFF;
        }
        return 0;