summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ape/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ape/main.c b/ape/main.c
index 39ad8b3..4846f00 100644
--- a/ape/main.c
+++ b/ape/main.c
@@ -361,12 +361,10 @@ void __attribute__((noreturn)) loaderLoop(void)
if (host_state != SHM.HostDriverState.bits.State)
{
- reload_type_t type;
host_state = SHM.HostDriverState.bits.State;
if (SHM_HOST_DRIVER_STATE_STATE_START == host_state)
{
- type = NEVER_RESET;
printf("host started\n");
reset_allowed = true;
@@ -376,20 +374,14 @@ void __attribute__((noreturn)) loaderLoop(void)
if (SHM_HOST_DRIVER_STATE_STATE_UNLOAD == host_state)
{
printf("host unloaded.\n");
- type = AS_NEEDED;
}
else
{
printf("wol?\n");
- type = AS_NEEDED;
}
reset_allowed = false;
}
-
- wait_for_all_rx();
- RMU_init();
- NCSI_reload(type);
}
else if (reset_allowed && !Network_checkEnableState(gPort) && !gResetOccurred)
{
OpenPOWER on IntegriCloud