Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6385963ybh; Wed, 7 Aug 2019 23:08:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyE8g4OJuZaGKXJ4iv0JrKM8KwH5Tl6BTMvlfNQer3DFeDTdkE1gi1V0zXlUZdZ8m8yVjHI X-Received: by 2002:a17:902:bd94:: with SMTP id q20mr2448109pls.307.1565244531644; Wed, 07 Aug 2019 23:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565244531; cv=none; d=google.com; s=arc-20160816; b=GSiTBBRQihri5xoXW4jf6LKvmfe9cjZ+pzv3H5dP0CvyyxTs9sKT0xZ+yjLUweXJLv 2zhxYSC4j6zuyV1ONDe0E/34S20ljbFJNRpABbpzEQNI09kXhYuqsYoJg9SUv2v9BLv6 /UnZYRPk2Y5vPONuwbDDFHl4wojtZAaSAtaShS8IvmkjjAaN0cvIXJzM9cwW9aWEhP4P 6T/TvdxOS1BIIhVGDueR8a6ZeabO/aEJ6duNboHkr6vuEOpVIGm6uoU45/FfEbfsKNes HNf6xm36O/qEj5sm3sM2UE+VaEGOfv/9+JyIvJuFuxRy/H8em2vZFN0dZlR+K961m597 uitQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=B/1HVKQzBsl8bbnlmAddMi2PPAq5WgrT8W/ZRsCZTwY=; b=FtI6FxVie3Q/tZYG1Bl6OBJ/3MulyqUGPzKGLS4SHbO3CEtQDV3cz00f8HopIRyLJy xWdGGk1vXoG2nqm10/KkvozJeoGrP4cyGISIhEDr/Q24vo+FIqJHgeSdlF5+yxEnsyq4 uJQk97YMj91OHC1Mco97a5glvRWrkzLhaTZkDODbvnO+WY0UtckI+ilqUX/vhMcnzFBY vnMtqqt0fD+lsWZm46euOiVsZiuiGnAK2+cRR/8O+ObGjEQWAfqaZ4CP3D/71UISP84r nCXDT41mc1BY4AZHS80/2Yh267d5nEZO2taT7TWkqxy73MTYrpCkTvK6j9wlYZvtUS/E tCrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=KcxK+vRc; dkim=pass header.i=@codeaurora.org header.s=default header.b=KcxK+vRc; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si53408291pgb.482.2019.08.07.23.08.24; Wed, 07 Aug 2019 23:08:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=KcxK+vRc; dkim=pass header.i=@codeaurora.org header.s=default header.b=KcxK+vRc; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730149AbfHHGHv (ORCPT + 99 others); Thu, 8 Aug 2019 02:07:51 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43950 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbfHHGHu (ORCPT ); Thu, 8 Aug 2019 02:07:50 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B3A8A60710; Thu, 8 Aug 2019 06:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565244469; bh=f99Iu+KunGz7J43l+XW9Qq8xhxWIcYZN4f8PSf2tM6E=; h=From:To:Cc:Subject:Date:From; b=KcxK+vRccIotCGS7X6YuZaivdRb69Xf+jZhJuIVNM4raroEsZjdnmE8Lh+j45p9oT 54bOYZoc1WQ5y0JvWh5lsf45jnwUP0kiJXgtIEEjbxcZupUTfIXc+LUHMAl+pCklli H04SI9iXppLf2oU0holKxIOrSnmt2AwUw6qbQNb8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from bgodavar-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bgodavar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6394F6030B; Thu, 8 Aug 2019 06:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565244469; bh=f99Iu+KunGz7J43l+XW9Qq8xhxWIcYZN4f8PSf2tM6E=; h=From:To:Cc:Subject:Date:From; b=KcxK+vRccIotCGS7X6YuZaivdRb69Xf+jZhJuIVNM4raroEsZjdnmE8Lh+j45p9oT 54bOYZoc1WQ5y0JvWh5lsf45jnwUP0kiJXgtIEEjbxcZupUTfIXc+LUHMAl+pCklli H04SI9iXppLf2oU0holKxIOrSnmt2AwUw6qbQNb8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6394F6030B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=bgodavar@codeaurora.org From: Balakrishna Godavarthi To: marcel@holtmann.org, johan.hedberg@gmail.com, mka@chromium.org Cc: linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, rjliao@codeaurora.org, c_hbandi@codeaurora.org, Balakrishna Godavarthi Subject: [PATCH v1] Bluetooth: btqca: Reset download type to default Date: Thu, 8 Aug 2019 11:37:37 +0530 Message-Id: <20190808060737.3506-1-bgodavar@codeaurora.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch will reset the download flag to default value before retrieving the download mode type. Signed-off-by: Balakrishna Godavarthi --- drivers/bluetooth/btqca.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c index 2221935fac7e..9fb247c10855 100644 --- a/drivers/bluetooth/btqca.c +++ b/drivers/bluetooth/btqca.c @@ -140,6 +140,7 @@ static void qca_tlv_check_data(struct rome_config *config, BT_DBG("Length\t\t : %d bytes", length); config->dnld_mode = ROME_SKIP_EVT_NONE; + config->dnld_type = ROME_SKIP_EVT_NONE; switch (config->type) { case TLV_TYPE_PATCH: -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project