Remove "suspended" member from FlowQueueTable.
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowPusher.java b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowPusher.java
index 940620e..61d8277 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowPusher.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowPusher.java
@@ -9,6 +9,7 @@
import net.floodlightcontroller.core.FloodlightContext;
import net.floodlightcontroller.core.IOFSwitch;
+import net.onrc.onos.ofcontroller.flowmanager.FlowQueueTable.QueueState;
/**
* FlowPusher intermediates flow_mod sent from FlowManager/FlowSync to switches.
@@ -45,7 +46,7 @@
while (true) {
for (IOFSwitch sw : flowQueueTable.getSwitches()) {
// Skip if queue is suspended
- if (flowQueueTable.isQueueSusupended(sw)) {
+ if (flowQueueTable.getQueueState(sw) != QueueState.READY) {
continue;
}