diff --git a/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java b/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java index f63ff13b3..8a1c11046 100644 --- a/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java +++ b/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java @@ -436,26 +436,14 @@ public ZigBeeStatus initialize() { // Perform any stack configuration EmberStackConfiguration stackConfigurer = new EmberStackConfiguration(getEmberNcp()); - Map configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet()); - for (Entry config : configuration.entrySet()) { - logger.debug("Configuration state {} = {}", config.getKey(), config.getValue()); - } - - Map policies = stackConfigurer.getPolicy(stackPolicies.keySet()); - for (Entry policy : policies.entrySet()) { - EzspDecisionId decisionId = EzspDecisionId.getEzspDecisionId(policy.getValue()); - logger.debug("Policy state {} = {} [{}]", policy.getKey(), decisionId, - String.format("%02X", policy.getValue())); - } - stackConfigurer.setConfiguration(stackConfiguration); - configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet()); + Map configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet()); for (Entry config : configuration.entrySet()) { logger.debug("Configuration state {} = {}", config.getKey(), config.getValue()); } stackConfigurer.setPolicy(stackPolicies); - policies = stackConfigurer.getPolicy(stackPolicies.keySet()); + Map policies = stackConfigurer.getPolicy(stackPolicies.keySet()); for (Entry policy : policies.entrySet()) { EzspDecisionId decisionId = null; try {