summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-11-28 09:44:28 -0700
committerGitHub <noreply@github.com>2020-11-28 09:44:28 -0700
commit93e44336ee659fa0bab9fe608052fe05b18991d7 (patch)
tree716cb1feac488c1ccb39e87693346b89e8107997
parent957d84dad2862e489c07db175ef9cbd468bc7d77 (diff)
downloadbcm5719-ortega-93e44336ee659fa0bab9fe608052fe05b18991d7.tar.gz
bcm5719-ortega-93e44336ee659fa0bab9fe608052fe05b18991d7.zip
ape: Don't force a network reset on host unload. (#187)
-rw-r--r--ape/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ape/main.c b/ape/main.c
index 1eb90ae..8556c5e 100644
--- a/ape/main.c
+++ b/ape/main.c
@@ -319,7 +319,7 @@ void __attribute__((noreturn)) loaderLoop(void)
if (SHM_HOST_DRIVER_STATE_STATE_UNLOAD == host_state)
{
printf("host unloaded.\n");
- type = ALWAYS_RESET;
+ type = AS_NEEDED;
}
else
{
OpenPOWER on IntegriCloud