carl9170 firmware: remove unused dummys
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 16 Aug 2010 19:48:21 +0000 (21:48 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 16 Aug 2010 19:48:21 +0000 (21:48 +0200)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/cmd.c

index 587a826cee6372dca2a72e0dd474c50d7a101052..112bf871fe34eb8d6c2236a8954719103d5b21c6 100644 (file)
@@ -96,13 +96,12 @@ void handle_cmd(struct carl9170_rsp *resp)
 
 #ifdef CONFIG_CARL9170FW_SECURITY_ENGINE
        case CARL9170_CMD_EKEY:
-               resp->hdr.len = 1;
+               resp->hdr.len = 0;
                set_key(&cmd->setkey);
                break;
 
        case CARL9170_CMD_DKEY:
-               /* Disable Key */
-               resp->hdr.len = 1;
+               resp->hdr.len = 0;
                disable_key(&cmd->disablekey);
                break;
 #endif /* CONFIG_CARL9170FW_SECURIT_ENGINE */