[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <A18585F8-9261-45B7-81C1-F305A03CE0FB@holtmann.org>
Date: Wed, 6 Jan 2021 08:50:22 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Abhishek Pandit-Subedi <abhishekpandit@...omium.org>
Cc: CrosBT Upstreaming <chromeos-bluetooth-upstreaming@...omium.org>,
linux-bluetooth <linux-bluetooth@...r.kernel.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Daniel Winkler <danielwinkler@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>
Subject: Re: [PATCH v2] Bluetooth: btrtl: Add null check in setup
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 central-peripheral role)
> Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@...omium.org>
> ---
>
> Changes in v2:
> - Added nullcheck with goto done
>
> drivers/bluetooth/btrtl.c | 4 ++++
> 1 file changed, 4 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists