]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Correctly report neighbor link down reason
authorDean Luick <dean.luick@intel.com>
Thu, 14 Apr 2016 15:31:42 +0000 (08:31 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:29 +0000 (16:32 -0400)
commit0ceb02d9a47f8f72d80acd96cd17aab49598d556
tree0ca12894fed2dd2f8ff54ae70b04b5cb6de6c3ea
parent1930e78cc676937c4faead589db9ddaeb4127bef
IB/hfi1: Correctly report neighbor link down reason

The code to save the link down reason for reporting to the SMA
was in a location before the actual reason was read.  Move the
SMA link down reason assignment to a better location.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c