Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6567425ybh; Thu, 8 Aug 2019 02:12:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlbr61jfa2PHWbaZJgumW3MP7+uWWY06Na/jwQPVhojYhfdT9p3hQQXr0SmBx3uyAubjKp X-Received: by 2002:a62:14c4:: with SMTP id 187mr13984033pfu.241.1565255554935; Thu, 08 Aug 2019 02:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565255554; cv=none; d=google.com; s=arc-20160816; b=eIo5Ql151+IgC+Ig30tmEibXWSp2MfygcdVSfXzEmmbzmmT0snnSwSjMclj0AuVX1/ YXFTRMY2ib7oAyCyKJeGNQWJYH0Kznt2ArhzmGgYMTWjOmaCBq/Q71cwLitT7AXNqQlX HGwGcIG+oWWV8tCwOsvyQmQsW2cILFRtHNuGwwd/HAPP4CVnX4FdCqxHGh9EuVyamtSx RbIPd+ztV/odvrDjs+A1btXZZN05yoTjiacG085WjIBHBjUQ33lC/d7vgKmvbWDdyHdF Hotwx1Ze3ZJE3wabbrxOlJXUuPAXY1FbLqKFC2zjt2rvW2cSFAR5zQp4HBQ0surWsmyP 6qYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Pv1q248coJhOyKZ7sznZtVOVWp+CTcYUhXBNfW3TJcA=; b=yTkZnZqd1kWtog/xQW7gniHKEMYga/9wduIbJp/KluAMrAUNxMhrhYNfWaWhXEPcTx uD9c1sNOaRjpPc8cHrD/aFUGee0PUbQD2Ey+iAvEZ9UQu/btonucnzzlcDIH3Qa9albh TKE7ciUr7reaAYE3VkqSWKP47q3KlgWLaUMdc3lJAPahMC1PW6CAntWb+NJLPkXpumuQ uIHeEmYPydEXwSiaS2FfP2gRYHsSA/kmllJ5N3B2WvUwOAEbwU3leUt7BR9JBn4I++Ru YB3JCjJYB9KRdIQV7h53Kf8UpsfS2Rlr1SCs0507QPRQ3OCuCowTNvINUNDN+TnQkolw 4xmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="ndVg0/EP"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si51363138pgc.236.2019.08.08.02.12.13; Thu, 08 Aug 2019 02:12:34 -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=@chromium.org header.s=google header.b="ndVg0/EP"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730777AbfHHJL2 (ORCPT + 99 others); Thu, 8 Aug 2019 05:11:28 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:37483 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731076AbfHHJL2 (ORCPT ); Thu, 8 Aug 2019 05:11:28 -0400 Received: by mail-qk1-f196.google.com with SMTP id d15so68147328qkl.4 for ; Thu, 08 Aug 2019 02:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Pv1q248coJhOyKZ7sznZtVOVWp+CTcYUhXBNfW3TJcA=; b=ndVg0/EPPCgdUb1UGYKBWxFWJEe0kxIjaPWhX5NGPkRioKbWgU8Rv4/LK0iOE8I8C6 MJ1nJ8wM9E9MnqjyOHSThhBvJPU8HKVaJEPF68vXHaNYuVE6WacHheCRiqp6iFR3C999 xgk4rGnyz27tt6XoKUcN4A4Vk/j1XEcoyTImA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Pv1q248coJhOyKZ7sznZtVOVWp+CTcYUhXBNfW3TJcA=; b=qMB5kgYcOnYLk2d8Jd0mwEnyprXG61g4YWqMxAfSF5YKs4C3v47/Tdo+MO4kEdfd9Y Ys3tbjZe0uA4LuXg14UqRJSg5ToM0OWfDHJiFfui4Xqhjh71/6rAAMpGTXsaFsR+mKht jRNKbWCe2eI2ot0nLVdkwaLDa49FE5Ztcxuc7QOzfycipUVd46HDUTOd1jIWXcU7qGaS xBz/dW5/cI+tOJ/0ADatu78T1dio4LjtAaaPf3JdR22WrLVzctrvt+DjDLwCNjxWDVmr 3McsibmNuZuykp/ET/0SWKmQ2WMR6kapHlVSQFgO7U7Tlfde0OT0QVKSFq8eeoagGBmc lQ/Q== X-Gm-Message-State: APjAAAXtRxJXxLr8lmorLiwgzbjbYkkLACDE/YwWBXuqoaMswxxTRygk C6ssSK0xCMLhOa3KR4OjLaw17R6ADCE= X-Received: by 2002:ae9:e8d6:: with SMTP id a205mr7325394qkg.241.1565255486357; Thu, 08 Aug 2019 02:11:26 -0700 (PDT) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com. [209.85.160.169]) by smtp.gmail.com with ESMTPSA id n184sm38091685qkc.114.2019.08.08.02.11.25 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 08 Aug 2019 02:11:25 -0700 (PDT) Received: by mail-qt1-f169.google.com with SMTP id d17so12440867qtj.8 for ; Thu, 08 Aug 2019 02:11:25 -0700 (PDT) X-Received: by 2002:ac8:768b:: with SMTP id g11mr12528132qtr.182.1565255484485; Thu, 08 Aug 2019 02:11:24 -0700 (PDT) MIME-Version: 1.0 References: <20190808085608.18010-1-bgodavar@codeaurora.org> In-Reply-To: <20190808085608.18010-1-bgodavar@codeaurora.org> From: Claire Chang Date: Thu, 8 Aug 2019 17:11:13 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] Bluetooth: btqca: Reset download type to default To: Balakrishna Godavarthi Cc: marcel@holtmann.org, johan.hedberg@gmail.com, Matthias Kaehlcke , linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, Rocky Liao , c_hbandi@codeaurora.org Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Tested-by: Claire Chang Reviewed-by: Claire Chang Thanks! On Thu, Aug 8, 2019 at 4:56 PM Balakrishna Godavarthi wrote: > > This patch will reset the download flag to default value > before retrieving the download mode type. > > Fixes: 32646db8cc28 ("Bluetooth: btqca: inject command complete event during fw download") > Signed-off-by: Balakrishna Godavarthi > --- > v2: > * add fix tag. > > --- > 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 >