Browse Source

[hermon] Stop firmware only once on shutdown

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

+ 0
- 1
src/drivers/infiniband/hermon.c View File

3739
 	hermon_cmd_close_hca ( hermon );
3739
 	hermon_cmd_close_hca ( hermon );
3740
 	hermon_free_icm ( hermon );
3740
 	hermon_free_icm ( hermon );
3741
 	hermon_stop_firmware ( hermon );
3741
 	hermon_stop_firmware ( hermon );
3742
-	hermon_stop_firmware ( hermon );
3743
 	for ( i = ( hermon->cap.num_ports - 1 ) ; i >= 0 ; i-- ) {
3742
 	for ( i = ( hermon->cap.num_ports - 1 ) ; i >= 0 ; i-- ) {
3744
 		netdev_nullify ( hermon->port[i].netdev );
3743
 		netdev_nullify ( hermon->port[i].netdev );
3745
 		netdev_put ( hermon->port[i].netdev );
3744
 		netdev_put ( hermon->port[i].netdev );

Loading…
Cancel
Save