aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/device_proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index ea740b3..cd91952 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -245,8 +245,9 @@ namespace nitrokey {
while (sending_retry_counter-- > 0) {
status = dev->send(&outp);
if (status <= 0){
- Log::instance()("Encountered communication error, disconnecting device", Loglevel::DEBUG_L2);
- dev->disconnect();
+ //FIXME early disconnection not yet working properly
+// Log::instance()("Encountered communication error, disconnecting device", Loglevel::DEBUG_L2);
+// dev->disconnect();
dev->m_counters.sending_error++;
throw DeviceSendingFailure(
std::string("Device error while sending command ") +