summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2007-07-02 04:12:35 +0200
committerMichael Brown2007-07-02 04:12:35 +0200
commite3bbfd7a757064022098793d865c6dae42c74c0b (patch)
treea66e04efb7a9e7602352209c11d17dfb3a00dbf9 /src
parentImprove debugging (diff)
downloadipxe-e3bbfd7a757064022098793d865c6dae42c74c0b.tar.gz
ipxe-e3bbfd7a757064022098793d865c6dae42c74c0b.tar.xz
ipxe-e3bbfd7a757064022098793d865c6dae42c74c0b.zip
Call shutdown() from pxenv_undi_shutdown(). Probably not totally
correct, but it's enough to get RIS working.
Diffstat (limited to 'src')
-rw-r--r--src/interface/pxe/pxe_undi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interface/pxe/pxe_undi.c b/src/interface/pxe/pxe_undi.c
index a9d0a208..4a9b3390 100644
--- a/src/interface/pxe/pxe_undi.c
+++ b/src/interface/pxe/pxe_undi.c
@@ -29,6 +29,7 @@
#include <gpxe/pci.h>
#include <gpxe/isapnp.h>
#include <gpxe/if_ether.h>
+#include <gpxe/shutdown.h>
#include "pxe.h"
/* PXENV_UNDI_STARTUP
@@ -85,6 +86,8 @@ PXENV_EXIT_t pxenv_undi_shutdown ( struct s_PXENV_UNDI_SHUTDOWN
*undi_shutdown ) {
DBG ( "PXENV_UNDI_SHUTDOWN" );
+ shutdown();
+
undi_shutdown->Status = PXENV_STATUS_SUCCESS;
return PXENV_EXIT_SUCCESS;
}