Browse Source

Call shutdown() from pxenv_undi_shutdown(). Probably not totally

correct, but it's enough to get RIS working.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
e3bbfd7a75
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/interface/pxe/pxe_undi.c

+ 3
- 0
src/interface/pxe/pxe_undi.c View File

@@ -29,6 +29,7 @@
29 29
 #include <gpxe/pci.h>
30 30
 #include <gpxe/isapnp.h>
31 31
 #include <gpxe/if_ether.h>
32
+#include <gpxe/shutdown.h>
32 33
 #include "pxe.h"
33 34
 
34 35
 /* PXENV_UNDI_STARTUP
@@ -85,6 +86,8 @@ PXENV_EXIT_t pxenv_undi_shutdown ( struct s_PXENV_UNDI_SHUTDOWN
85 86
 				   *undi_shutdown ) {
86 87
 	DBG ( "PXENV_UNDI_SHUTDOWN" );
87 88
 
89
+	shutdown();
90
+
88 91
 	undi_shutdown->Status = PXENV_STATUS_SUCCESS;
89 92
 	return PXENV_EXIT_SUCCESS;
90 93
 }

Loading…
Cancel
Save