commit | 853bf25c00feebd9c8e7d2b00a9534566a80cca5 | [log] [tgz] |
---|---|---|
author | Gamze Abaka <gamze.abaka@netsia.com> | Mon Mar 25 10:27:06 2019 +0000 |
committer | abakagamze <gamze.abaka@argela.com.tr> | Mon Mar 25 14:25:55 2019 +0300 |
tree | 91f9c583be8f0a38137c2989238cc1d06499fe8a | |
parent | da282b4c127ee33bb09fd1edc13c9832fd496e1c [diff] |
Removing the subscriber when an ONU device is disabled Change-Id: I123b47b679a99d35642da41728743447d533da54
diff --git a/app/src/main/java/org/opencord/olt/impl/Olt.java b/app/src/main/java/org/opencord/olt/impl/Olt.java index 60d9e5d..28a48d9 100644 --- a/app/src/main/java/org/opencord/olt/impl/Olt.java +++ b/app/src/main/java/org/opencord/olt/impl/Olt.java
@@ -1543,10 +1543,7 @@ break; case PORT_REMOVED: if (isUniPort(dev, port)) { - if (port.isEnabled()) { - removeSubscriber(new ConnectPoint(devId, port.number())); - } - + removeSubscriber(new ConnectPoint(devId, port.number())); post(new AccessDeviceEvent(AccessDeviceEvent.Type.UNI_REMOVED, devId, port)); }