diff options
author | Shiraz Saleem <[email protected]> | 2016-11-30 15:12:11 -0600 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-12-05 16:09:43 -0500 |
commit | fd4e906b2e2c04056e8c1773b5b6e06d307239e6 (patch) | |
tree | 54de46d7137b499d9c2185a8df40e616ffb09e87 | |
parent | 7eb2bde7f3900f044ab351e450adc41623ff2f5c (diff) |
i40iw: Fill in IRD value when on connect request
IRD is not populated on connect request and application is
getting 0 for the value. Fill in the correct value on
connect request.
Signed-off-by: Shiraz Saleem <[email protected]>
Signed-off-by: Faisal Latif <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_cm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_cm.c b/drivers/infiniband/hw/i40iw/i40iw_cm.c index 0c92037d4f7c..2f14de77cb1a 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_cm.c +++ b/drivers/infiniband/hw/i40iw/i40iw_cm.c @@ -272,6 +272,7 @@ static int i40iw_send_cm_event(struct i40iw_cm_node *cm_node, event.provider_data = (void *)cm_node; event.private_data = (void *)cm_node->pdata_buf; event.private_data_len = (u8)cm_node->pdata.size; + event.ird = cm_node->ird_size; break; case IW_CM_EVENT_CONNECT_REPLY: i40iw_get_cmevent_info(cm_node, cm_id, &event); |