aboutsummaryrefslogtreecommitdiff
path: root/include/device_proto.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 09:05:25 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:40:25 +0200
commit7d579ca0ca59095596275f7b891dacce54398f1f (patch)
tree0741173939440090109754d9b65c3bb0b0666305 /include/device_proto.h
parentb53d6455d1c7dfd24ec2cbb18d5e943c0472d34e (diff)
downloadlibnitrokey-7d579ca0ca59095596275f7b891dacce54398f1f.tar.gz
libnitrokey-7d579ca0ca59095596275f7b891dacce54398f1f.tar.bz2
Add all devices' and commands' statuses
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/device_proto.h')
-rw-r--r--include/device_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index 6b06a16..45f165b 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -251,7 +251,7 @@ namespace nitrokey {
resp.device_status = static_cast<uint8_t>(stick10::device_status::busy);
break;
case stick20::device_status::wrong_password:
- resp.last_command_status = static_cast<uint8_t>(stick10::device_status::wrong_password);
+ resp.last_command_status = static_cast<uint8_t>(stick10::command_status::wrong_password);
resp.device_status = static_cast<uint8_t>(stick10::device_status::ok);
break;
default: