IB/hfi1: Fix rnr_timer addition
authorIra Weiny <ira.weiny@intel.com>
Mon, 17 Oct 2016 11:20:09 +0000 (04:20 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 15 Nov 2016 21:16:44 +0000 (16:16 -0500)
commit458ed666fe14a54dfb6690a1a7f541782d1342c9
tree4b962cbefd213f1859fc531a4d446dac2eb8fbca
parentf0f98f74c91c68502e97e0d5526aa4e81b40b28a
IB/hfi1: Fix rnr_timer addition

The new s_rnr_timeout was not properly being set and the code was
incorrectly setting a different timer.

Found by code inspection.

Cc: <stable@vger.kernel.org> # 4.7.x
Fixes: 08279d5c9424 ("staging/rdma/hfi1: use new RNR timer")
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/rc.c