aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-06-17 23:37:37 -0400
committerRoland Dreier <rolandd@cisco.com>2006-06-17 23:37:37 -0400
commit6eddb5cb906ac5c9a17a1b76464eadacd88b6c92 (patch)
tree8f12b13a64030e422b7c7d753009dab3dce3aa6b /drivers/infiniband
parent12bbb2b7be7f5564952ebe0196623e97464b8ac5 (diff)
IB/ipath: Add client reregister event generation
Generate a client reregister event instead of a LID change event when client reregister bit is set. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_mad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_mad.c b/drivers/infiniband/hw/ipath/ipath_mad.c
index 49acd1e15707..1a9d0a2c33c3 100644
--- a/drivers/infiniband/hw/ipath/ipath_mad.c
+++ b/drivers/infiniband/hw/ipath/ipath_mad.c
@@ -409,7 +409,7 @@ static int recv_subn_set_portinfo(struct ib_smp *smp,
409 409
410 if (pip->clientrereg_resv_subnetto & 0x80) { 410 if (pip->clientrereg_resv_subnetto & 0x80) {
411 clientrereg = 1; 411 clientrereg = 1;
412 event.event = IB_EVENT_LID_CHANGE; 412 event.event = IB_EVENT_CLIENT_REREGISTER;
413 ib_dispatch_event(&event); 413 ib_dispatch_event(&event);
414 } 414 }
415 415