diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-06-14 10:46:44 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-06-14 22:16:27 +0200 |
commit | 995fca15b73ff8f92888cc2d5d95f17ffdac74ba (patch) | |
tree | 2c81db89ed0017f6aa6e0d26a1b02cf11ea045c7 /drivers/hwmon/corsair-psu.c | |
parent | ad9d24c9429e2159d1e279dc3a83191ccb4daf1d (diff) |
Bluetooth: SMP: Fix crash when receiving new connection when debug is enabled
When receiving a new connection pchan->conn won't be initialized so the
code cannot use bt_dev_dbg as the pointer to hci_dev won't be
accessible.
Fixes: 2e1614f7d61e4 ("Bluetooth: SMP: Convert BT_ERR/BT_DBG to bt_dev_err/bt_dev_dbg")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/hwmon/corsair-psu.c')
0 files changed, 0 insertions, 0 deletions