Re: [PATCH v2] Bluetooth: btrtl: Add null check in setup

2021-01-05 Thread Marcel Holtmann
Hi Abhishek, > btrtl_dev->ic_info is only available from the controller on cold boot > (the lmp subversion matches the device model and this is used to look up > the ic_info). On warm boots (firmware already loaded), > btrtl_dev->ic_info is null. > > Fixes: 05672a2c14a4 (Bluetooth: btrtl: Enable

[PATCH v2] Bluetooth: btrtl: Add null check in setup

2021-01-05 Thread Abhishek Pandit-Subedi
btrtl_dev->ic_info is only available from the controller on cold boot (the lmp subversion matches the device model and this is used to look up the ic_info). On warm boots (firmware already loaded), btrtl_dev->ic_info is null. Fixes: 05672a2c14a4 (Bluetooth: btrtl: Enable central-peripheral role) S