Dusan Pajin
Committed by Gerrit Code Review

Bugfix for double PORT_STATS_UPDATED DeviceEvent

Change-Id: I5e53c3046fce23afcd8f22813bc2d81f95952e96
...@@ -860,7 +860,8 @@ public class GossipDeviceStore ...@@ -860,7 +860,8 @@ public class GossipDeviceStore
860 } 860 }
861 devicePortDeltaStats.put(deviceId, deltaStatsMap); 861 devicePortDeltaStats.put(deviceId, deltaStatsMap);
862 devicePortStats.put(deviceId, newStatsMap); 862 devicePortStats.put(deviceId, newStatsMap);
863 - return new DeviceEvent(PORT_STATS_UPDATED, devices.get(deviceId), null); 863 + // DeviceEvent returns null because of InternalPortStatsListener usage
864 + return null;
864 } 865 }
865 866
866 /** 867 /**
......