summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-11-28 10:48:59 -0700
committerGitHub <noreply@github.com>2020-11-28 10:48:59 -0700
commit987ba8bdfce8e1ecc90f5bfb692e36d11a65a6ee (patch)
tree71946f697957fec8d0ff1ca8eec5c15455141e5e
parent93e44336ee659fa0bab9fe608052fe05b18991d7 (diff)
downloadbcm5719-ortega-987ba8bdfce8e1ecc90f5bfb692e36d11a65a6ee.tar.gz
bcm5719-ortega-987ba8bdfce8e1ecc90f5bfb692e36d11a65a6ee.zip
ape: Don't force a network reset when the ape mode changes. (#188)
-rw-r--r--ape/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ape/main.c b/ape/main.c
index 8556c5e..5ffce46 100644
--- a/ape/main.c
+++ b/ape/main.c
@@ -339,7 +339,7 @@ void __attribute__((noreturn)) loaderLoop(void)
printf("APE mode change, resetting.\n");
wait_for_all_rx();
RMU_init();
- NCSI_reload(ALWAYS_RESET);
+ NCSI_reload(AS_NEEDED);
// Update host state to make sure we don't reset twice if it's changed.
host_state = SHM.HostDriverState.bits.State;
OpenPOWER on IntegriCloud