Browse Source

[infiniband] Reset port state after closing device

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
18178b087f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/net/infiniband.c

+ 1
- 0
src/net/infiniband.c View File

680
 		ib_destroy_sma ( ibdev, ibdev->smi );
680
 		ib_destroy_sma ( ibdev, ibdev->smi );
681
 		ib_destroy_mi ( ibdev, ibdev->smi );
681
 		ib_destroy_mi ( ibdev, ibdev->smi );
682
 		ibdev->op->close ( ibdev );
682
 		ibdev->op->close ( ibdev );
683
+		ibdev->port_state = IB_PORT_STATE_DOWN;
683
 	}
684
 	}
684
 }
685
 }
685
 
686
 

Loading…
Cancel
Save