aboutsummaryrefslogtreecommitdiff
path: root/device.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-09-11 10:55:49 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-09-20 12:47:04 +0200
commit74c547e08220a55878de74d7c304c3a5cee33b11 (patch)
tree9645912b16e3883c21ee162c2e11b085986eda2a /device.cc
parentf53e5e799fe111bcf0b8ed71710e00000e097aca (diff)
downloadlibnitrokey-74c547e08220a55878de74d7c304c3a5cee33b11.tar.gz
libnitrokey-74c547e08220a55878de74d7c304c3a5cee33b11.tar.bz2
Do not resend command to device
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
-rw-r--r--device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.cc b/device.cc
index 5f1c9a0..e6edd73 100644
--- a/device.cc
+++ b/device.cc
@@ -27,7 +27,7 @@ Device::Device(const uint16_t vid, const uint16_t pid, const DeviceModel model,
m_vid(vid),
m_pid(pid),
m_model(model),
- m_retry_sending_count(3),
+ m_retry_sending_count(1),
m_retry_receiving_count(retry_receiving_count),
m_retry_timeout(retry_timeout),
m_send_receive_delay(send_receive_delay),