mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix a long standing ASF heartbeat sending bug. The initial
implementation of heartbeat interval was 2 but there was typo which caused the heartbeat is sent approximately every 5 seconds. This caused unintended controller reset by firmware because firmware thought OS was crashed. Submitted by: Floris Bos < info <> je-eigen-domein dot nl > Tested by: Andrzej Tobola < ato <> iem dot pw dot edu dot pl >
This commit is contained in:
parent
a68c7fa928
commit
899d684659
1 changed files with 1 additions and 1 deletions
|
|
@ -3677,7 +3677,7 @@ bge_asf_driver_up(struct bge_softc *sc)
|
|||
if (sc->bge_asf_count)
|
||||
sc->bge_asf_count --;
|
||||
else {
|
||||
sc->bge_asf_count = 5;
|
||||
sc->bge_asf_count = 2;
|
||||
bge_writemem_ind(sc, BGE_SOFTWARE_GENCOMM_FW,
|
||||
BGE_FW_DRV_ALIVE);
|
||||
bge_writemem_ind(sc, BGE_SOFTWARE_GENNCOMM_FW_LEN, 4);
|
||||
|
|
|
|||
Loading…
Reference in a new issue