From 7d579ca0ca59095596275f7b891dacce54398f1f Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Wed, 19 Oct 2016 09:05:25 +0200 Subject: Add all devices' and commands' statuses Signed-off-by: Szczepan Zalega --- include/device_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/device_proto.h') 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(stick10::device_status::busy); break; case stick20::device_status::wrong_password: - resp.last_command_status = static_cast(stick10::device_status::wrong_password); + resp.last_command_status = static_cast(stick10::command_status::wrong_password); resp.device_status = static_cast(stick10::device_status::ok); break; default: -- cgit v1.2.1