mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
If CONFIG_DEV_COREDUMP was not set, it would return -EOPNOTSUPP for
hci_devcd_register().
In this commit, ignore error return for hci_devcd_register().
Otherwise Bluetooth initialization will be failed.
Fixes: 044014ce85 ("Bluetooth: btrtl: Add Realtek devcoredump support")
Cc: [email protected]
Reported-by: Kirill A. Shutemov <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/T/
Signed-off-by: Max Chou <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>