summaryrefslogtreecommitdiffstats
path: root/ape/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ape/main.c')
-rw-r--r--ape/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ape/main.c b/ape/main.c
index 58c6b0c..cfe9c2d 100644
--- a/ape/main.c
+++ b/ape/main.c
@@ -202,9 +202,10 @@ void handleBMCPacket(void)
if (!Network_TX_transmitPassthroughPacket(bytes, port))
{
printf("Resetting TX...\n");
- // Reset TX, as it's likely locked up now.
- // Network_resetTX(port);
- Network_InitPort(port, AS_NEEDED);
+ // Reset, as it's likely locked up now.
+ wait_for_all_rx();
+ initRMU();
+ NCSI_reload(AS_NEEDED);
}
}
else
OpenPOWER on IntegriCloud