Thomas Vachuska

Added back the MBPS divisor for port speeds.

...@@ -283,7 +283,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr ...@@ -283,7 +283,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr
283 for (OFPortFeatures feat : port.getCurr()) { 283 for (OFPortFeatures feat : port.getCurr()) {
284 portSpeed = PortSpeed.max(portSpeed, feat.getPortSpeed()); 284 portSpeed = PortSpeed.max(portSpeed, feat.getPortSpeed());
285 } 285 }
286 - return portSpeed.getSpeedBps(); 286 + return portSpeed.getSpeedBps() / MBPS;
287 } 287 }
288 } 288 }
289 289
......