OSDN Git Service

Bluetooth: btusb: print FW version after FW download
authorAmit K Bag <amit.k.bag@intel.com>
Fri, 27 Sep 2019 02:51:54 +0000 (08:21 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2019 17:26:40 +0000 (19:26 +0200)
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 <amit.k.bag@intel.com>
Signed-off-by: Yoni Shavit <yshavit@chromium.org>
Signed-off-by: Chethan Tumkur Narayan <chethan.tumkur.narayan@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c

index a9c35eb..270e892 100644 (file)
@@ -2432,6 +2432,13 @@ done:
         */
        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);
+
        return 0;
 }