master/voe_handler.c
branchstable-1.5
changeset 2419 fdb85a806585
parent 2374 e898451c054a
child 2522 ec403cf308eb
--- a/master/voe_handler.c	Thu Sep 06 14:40:10 2012 +0200
+++ b/master/voe_handler.c	Thu Sep 06 18:28:57 2012 +0200
@@ -190,8 +190,9 @@
 {
     if (voe->config->slave) { // FIXME locking?
         voe->state(voe);
-        if (voe->request_state == EC_INT_REQUEST_BUSY)
+        if (voe->request_state == EC_INT_REQUEST_BUSY) {
             ec_master_queue_datagram(voe->config->master, &voe->datagram);
+        }
     } else {
         voe->state = ec_voe_handler_state_error;
         voe->request_state = EC_INT_REQUEST_FAILURE;