Added debugging output for result of register request.
authorFlorian Pose <fp@igh-essen.com>
Thu, 15 Apr 2010 12:31:12 +0200
changeset 1892 0c254f0e7f7d
parent 1891 dd7879e2e72b
child 1893 9a136c0c30a2
Added debugging output for result of register request.
master/fsm_master.c
--- a/master/fsm_master.c	Wed Apr 14 15:24:58 2010 +0200
+++ b/master/fsm_master.c	Thu Apr 15 12:31:12 2010 +0200
@@ -998,8 +998,12 @@
         }
 
         request->state = EC_INT_REQUEST_SUCCESS;
+        if (master->debug_level) {
+            EC_DBG("Register request successful.\n");
+        }
     } else {
         request->state = EC_INT_REQUEST_FAILURE;
+        EC_ERR("Register request failed.\n");
     }
 
     wake_up(&master->reg_queue);