diff options
author | Evan Lojewski <github@meklort.com> | 2020-10-22 22:58:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 22:58:56 -0600 |
commit | 27f308091b5b1ae093a5f763a3bc8b9d5b1e6adf (patch) | |
tree | 023399d0b8386fed017bdd873c77b665dce0f09c /ape/main.c | |
parent | 62256af94e36b21ba14ad11951f88727744b7003 (diff) | |
download | bcm5719-ortega-27f308091b5b1ae093a5f763a3bc8b9d5b1e6adf.tar.gz bcm5719-ortega-27f308091b5b1ae093a5f763a3bc8b9d5b1e6adf.zip |
ape: Properly handle tx lockups by ensuring all blocks are reset. (#147)
Diffstat (limited to 'ape/main.c')
-rw-r--r-- | ape/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |