Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2882850ybn; Thu, 26 Sep 2019 19:57:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxOdUvE9/cnR4EftmpGFOUaQw846g3IJeeQMqcY/EJ3A70wSQ7rWF7xg9XK8nGlnpz1WZo X-Received: by 2002:a50:f616:: with SMTP id c22mr2101259edn.235.1569553056817; Thu, 26 Sep 2019 19:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569553056; cv=none; d=google.com; s=arc-20160816; b=GOY19RiPcCXZB7HE3cyQlbl7+xbeGbFxc0c4CLMa6T5KeXNoLsau6zQeBMsvsGC7tR Yai40qqLr4IYQXYD/ZAegpciG6hHzYDX9i74K0CkN2oF20c2WhmAeQE1R+/gFJK56iSQ cc/nU8tAMooiaI4JhBP79qLMUg9pxES9hhaDZZ9M6CkHmosZYtElK+ufz4lnDAOkHLKz /ZfcqeGIQq1TXdBqGcDRgVCq6XPEIvniG5FaLrnH0bB4JLQDbMDqdhvmDKrmgox8ugz0 P9QgKF1u/bKODqB1L7RRAIWDYeC9Menxk7rcTMjGkiwqytaE33l8xBW6vtO/Gze4sfsA eAbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=9HEFhpVUHms01eOjHI5t5A1icxLy0SE/fPYzrmUrsmM=; b=HtEHhwvqTbwuAa0ywGWaMcBcXdPBl+/nGueddHcqAkMNcEsD9+G2n0/TsE0um1b0B1 bEkWeK0yGafCtrhaebQHaTeTBzZ0nJ90Qp/Xt1zFNFi3Eg782DLVHgFI543pRrYjhsjn TYPE6GTOaQJhSAqxceJgjUncPisog4oBOUxOaQJc1CoCeVlfW8eRDkZqfzFXcBkqvdcH bucINpalny8Ok+sRPnqZ7CcX+DZRpuIcpHvlOC64TOtIQyUfJf2FC/vc0Lrg1u6SQoIA k08GxeG0wxkn+XGulN11BeAuWk5Hr884AeUQCWpbJHY2RfiiPHJOnrBOeC1E99Y+6AXv HYJw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si721225edd.390.2019.09.26.19.57.11; Thu, 26 Sep 2019 19:57:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728027AbfI0C5E (ORCPT + 99 others); Thu, 26 Sep 2019 22:57:04 -0400 Received: from mga11.intel.com ([192.55.52.93]:21594 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727631AbfI0C5E (ORCPT ); Thu, 26 Sep 2019 22:57:04 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 19:57:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,553,1559545200"; d="scan'208";a="389828640" Received: from unknown (HELO ubuntu-16-04.iind.intel.com) ([10.224.186.155]) by fmsmga005.fm.intel.com with ESMTP; 26 Sep 2019 19:57:02 -0700 From: Amit K Bag To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, chethan.tumkur.narayan@intel.com, Amit K Bag Subject: [PATCH] Bluetooth: btusb: print FW version after FW download Date: Fri, 27 Sep 2019 08:21:53 +0530 Message-Id: <1569552714-16091-1-git-send-email-amit.k.bag@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org After FW download there is no print to confirm the current FW version. Add print to check FW version incase of FW download. Signed-off-by: Amit K Bag --- drivers/bluetooth/btusb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index a9c35ebb30f8..f6c033b5042c 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2432,6 +2432,14 @@ static int btusb_setup_intel_new(struct hci_dev *hdev) */ btintel_set_event_mask(hdev, false); + /* Read the Intel version information after loading the FW */ + err = btintel_read_version(hdev, &ver); + if (err) + return err; + + btintel_version_info(hdev, &ver); + bt_dev_info(hdev, "Setup complete"); + return 0; } -- 2.7.4