VOL-1530: Hard Reboot Edgecore asfvolt16 OLT when no ONUs are connected to it
Change-Id: Iaaa94911289642f86f1513d45cc987fce5c2a8f0
diff --git a/adaptercore/olt_state_transitions.go b/adaptercore/olt_state_transitions.go
index 5d53fee..1cd71f0 100644
--- a/adaptercore/olt_state_transitions.go
+++ b/adaptercore/olt_state_transitions.go
@@ -88,7 +88,7 @@
// In doInit establish the grpc session
transitionMap.transitions[DeviceInit] =
Transition{
- previousState: []DeviceState{deviceStateNull},
+ previousState: []DeviceState{deviceStateNull, deviceStateDown},
currentState: deviceStateInit,
before: []TransitionHandler{dh.doStateInit},
after: []TransitionHandler{dh.postInit}}