From: Christian Lamparter Date: Mon, 16 Aug 2010 19:48:21 +0000 (+0200) Subject: carl9170 firmware: remove unused dummys X-Git-Tag: 1.8.6~1 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ee83eebd6898b338a15f378599f2086499efcd4c;p=carl9170fw.git carl9170 firmware: remove unused dummys Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/cmd.c b/carlfw/src/cmd.c index 587a826..112bf87 100644 --- a/carlfw/src/cmd.c +++ b/carlfw/src/cmd.c @@ -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 */