From 26516fc5a2f5723543386ade3e7b2907408d05b6 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 26 Feb 2012 12:45:28 +0100 Subject: client: handle CONTROLLER_ENABLE_SMARTCARD (rhbz 641828) --- client/controller.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/controller.cpp') diff --git a/client/controller.cpp b/client/controller.cpp index 91c00212..a0269be3 100644 --- a/client/controller.cpp +++ b/client/controller.cpp @@ -334,9 +334,12 @@ bool ControllerConnection::handle_message(ControllerMsg *hdr) case CONTROLLER_DELETE_MENU: _handler->delete_menu(); break; + case CONTROLLER_ENABLE_SMARTCARD: + _handler->enable_smartcard(value); + break; case CONTROLLER_SEND_CAD: default: - LOG_ERROR("Ignoring an unknown controller message %u", hdr->id); + LOG_ERROR("Ignoring an unknown/SEND_CAD controller message %u", hdr->id); return false; } return true; -- cgit