onuomci state transition fixes
Change-Id: Id721f24bca76d4e158e65d44bb5ef1141839bd49
diff --git a/core/mediator.go b/core/mediator.go
index c4cdc21..44e1d20 100644
--- a/core/mediator.go
+++ b/core/mediator.go
@@ -220,7 +220,7 @@
}
if o.Mode == BOTH {
- if current == device.ONU_OMCIACTIVE && next == device.ONU_AUTHENTICATED {
+ if current == device.ONU_OMCIACTIVE {
t := tm.CreateTester("DHCP", o, key, activateDHCPClient, o.dhcpwait)
if err := tm.StartTester(t); err != nil {
logger.Error("Cannot Start DHCP Executer error:%v", err)