2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-08-24 12:10:27 +00:00

[infiniband] Reset port state after closing device

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-11-15 01:03:08 +00:00
parent 1e7fbc5bf3
commit 18178b087f

View File

@@ -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;
}
}