aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index b270eb3..833e916 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -61,7 +61,6 @@ namespace nitrokey{
}
bool NitrokeyManager::connect() {
- this->disconnect();
std::lock_guard<std::mutex> lock(mex_dev_com);
vector< shared_ptr<Device> > devices = { make_shared<Stick10>(), make_shared<Stick20>() };
for( auto & d : devices ){
@@ -74,7 +73,6 @@ namespace nitrokey{
bool NitrokeyManager::connect(const char *device_model) {
- this->disconnect();
std::lock_guard<std::mutex> lock(mex_dev_com);
switch (device_model[0]){
case 'P':