aboutsummaryrefslogtreecommitdiff
path: root/include/device_proto.h
diff options
context:
space:
mode:
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: