From: Amit K Bag Date: Fri, 27 Sep 2019 02:51:54 +0000 (+0530) Subject: Bluetooth: btusb: print FW version after FW download X-Git-Tag: v5.5-rc1~174^2~317^2~16 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=74ffdf22b3acf8961b6904dda350135e9aaeb445;p=tomoyo%2Ftomoyo-test1.git 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 Signed-off-by: Yoni Shavit Signed-off-by: Chethan Tumkur Narayan Signed-off-by: Marcel Holtmann --- 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; }