diff options
author | Amit K Bag <amit.k.bag@intel.com> | 2019-09-27 08:21:54 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-10-16 19:26:40 +0200 |
commit | 74ffdf22b3acf8961b6904dda350135e9aaeb445 (patch) | |
tree | 9daf9727f81aeeed61ef8739af2126308b5497ec /drivers/bluetooth/btusb.c | |
parent | d171dfb621240ee6c77cb354c0767b6dd41f83fe (diff) | |
download | linux-74ffdf22b3acf8961b6904dda350135e9aaeb445.tar.bz2 |
Bluetooth: btusb: print FW version after FW download
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>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r-- | drivers/bluetooth/btusb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index a9c35ebb30f8..270e892c7c8f 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -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; } |