mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 11:00:27 +03:00
[infiniband] Reset port state after closing device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user