Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[infiniband] Reset port state after closing device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Nov 15, 2011
1 parent 1e7fbc5 commit 18178b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/net/infiniband.c
Expand Up @@ -680,6 +680,7 @@ void ib_close ( struct ib_device *ibdev ) {
ib_destroy_sma ( ibdev, ibdev->smi );
ib_destroy_mi ( ibdev, ibdev->smi );
ibdev->op->close ( ibdev );
ibdev->port_state = IB_PORT_STATE_DOWN;
}
}

Expand Down

0 comments on commit 18178b0

Please sign in to comment.