Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6397906ybh; Wed, 7 Aug 2019 23:21:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNZuHd1Aqw7uQXg3hrJhhZoevzAANGhsYM/MrVHx8t52d1V6Anct29/KBOh3ATAhL71Tmi X-Received: by 2002:a17:902:4b:: with SMTP id 69mr11975203pla.89.1565245303863; Wed, 07 Aug 2019 23:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565245303; cv=none; d=google.com; s=arc-20160816; b=IgxI/kSUEzk83zdyNXtDjreNgAz1zONrV3GkOQCTyZeYBz1Y3wxW3TgmqSdDQ5FJN2 zKIxZ26Spz7YzDfKGFJ6tpHPHswL5mLtAGEw+PAw2whJLZbNsXXQXId6aaCb4OjZ6PcC W8GwoJPtPWB0FtJo0G+5RCcJW0HGQ+bVZasMe3Vkh+R7AzxgECpN+91X/zaGfynWoRng +yFf8w08Xpa5tOPm/37uVD5t+ESX6rlgudjlAHzOBTscgXxh/F1fybJfJ1nN2wch5zFT ZwL9PTvcQ6KNEvzMzqroUNYokPRmQZ7aCqVqCnmEqaNDzgUsy9dM3kWAyVG/1NTbc65v hi6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=+96pBfABmvESi8HUbdoT3V3Hk5lQguOSNK0Seo8WL7I=; b=E9Gb1TzlVmr9BapOYqwquGgbmyPz7Phf4sxv8loiir8n2MBGI1Lr20JJexMHEJ8Cvu +ELuM+VH6oapmvUaB1n8mPMRKWUHsB9Lw9Ljrqpd5NDPE+ivszW1qNrm0V2VgIY8q0ej 0kZbnaI/arzs4Vp99auiLUjMdvs+JuFjng9CgXCSI5vLUVZWbRaydadW55SFoyBdeHxW DDoZ/uQYEvCu9PPDpnAygcYEmhmcTV9SAOvvcJnuVgOrCN1H9lYZnL9KoV67Wc5tRuKD AEIMBOtk/tE0vVj1rUfxtxhm+3v6x70dheaSZ72NBnVZCBtfHZW1ljI05jnXLwQRWlbB IZRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=dgNyQl5y; dkim=pass header.i=@codeaurora.org header.s=default header.b=CU7Rf5sX; 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 n1si1190337pjo.28.2019.08.07.23.21.21; Wed, 07 Aug 2019 23:21:43 -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=dgNyQl5y; dkim=pass header.i=@codeaurora.org header.s=default header.b=CU7Rf5sX; 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 S1730626AbfHHGVG (ORCPT + 99 others); Thu, 8 Aug 2019 02:21:06 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50918 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbfHHGVG (ORCPT ); Thu, 8 Aug 2019 02:21:06 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0C13F6030B; Thu, 8 Aug 2019 06:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565245265; bh=WOVzriFtN86Utn04VUsys6K9j6mbDVjJ+0hWIUTdGQY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dgNyQl5yhuQrITTZ2opDkozCa8gs2nO5vLKhQutadaB1bipxxn2Yv8lErqtBA4BDv 3I4kNLauT5V0LZXM8Qn6BIVrxR9GFqpiKeLtA1UfxaVIajtqo6u5NhKtvdIdUu7gr7 ID3vEx4VV+NRb56EngueLWSIXkG3TvFOcKBVb1uU= 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 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 1141F601F6; Thu, 8 Aug 2019 06:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565245264; bh=WOVzriFtN86Utn04VUsys6K9j6mbDVjJ+0hWIUTdGQY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CU7Rf5sX9oINsGgXAtQajjlRknYdHrvfrj5+oZqRJbVEVMalGD9ueViK3CNjzx8QM x+Fi+7w6x3oxYgoLcuGElSZxHsF2GFQpTjaKw9rx/ymJYxfBwVE7aWc+UEbQZHYPth 5kAYhxP1+Vu1PJB90eglrzVoQLzCveY/M9O8rOJg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 08 Aug 2019 14:21:03 +0800 From: Rocky Liao To: Balakrishna Godavarthi Cc: marcel@holtmann.org, johan.hedberg@gmail.com, mka@chromium.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, c_hbandi@codeaurora.org, tientzu@chromium.org Subject: Re: [PATCH v1] Bluetooth: btqca: Reset download type to default In-Reply-To: <20190808060737.3506-1-bgodavar@codeaurora.org> References: <20190808060737.3506-1-bgodavar@codeaurora.org> Message-ID: <56fe734d517399c6509f6e9c45f9b096@codeaurora.org> X-Sender: rjliao@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org +Claire On 2019-08-08 14:07, Balakrishna Godavarthi wrote: > 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