Skip to content

Commit

Permalink
IB/ipath: Add client reregister event generation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Dreier committed Jun 18, 2006
1 parent 12bbb2b commit 6eddb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/ipath/ipath_mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ static int recv_subn_set_portinfo(struct ib_smp *smp,

if (pip->clientrereg_resv_subnetto & 0x80) {
clientrereg = 1;
event.event = IB_EVENT_LID_CHANGE;
event.event = IB_EVENT_CLIENT_REREGISTER;
ib_dispatch_event(&event);
}

Expand Down

0 comments on commit 6eddb5c

Please sign in to comment.