diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/core/sa_query.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/sa_query.c b/drivers/infiniband/core/sa_query.c index d7d4a5309ba9..68db633711c5 100644 --- a/drivers/infiniband/core/sa_query.c +++ b/drivers/infiniband/core/sa_query.c | |||
@@ -471,6 +471,7 @@ int ib_init_ah_from_path(struct ib_device *device, u8 port_num, | |||
471 | ah_attr->sl = rec->sl; | 471 | ah_attr->sl = rec->sl; |
472 | ah_attr->src_path_bits = be16_to_cpu(rec->slid) & 0x7f; | 472 | ah_attr->src_path_bits = be16_to_cpu(rec->slid) & 0x7f; |
473 | ah_attr->port_num = port_num; | 473 | ah_attr->port_num = port_num; |
474 | ah_attr->static_rate = rec->rate; | ||
474 | 475 | ||
475 | if (rec->hop_limit > 1) { | 476 | if (rec->hop_limit > 1) { |
476 | ah_attr->ah_flags = IB_AH_GRH; | 477 | ah_attr->ah_flags = IB_AH_GRH; |