Skip to content
Commit 33ca954d authored by David Rheinsberg's avatar David Rheinsberg Committed by Gustavo Padovan
Browse files

Bluetooth: Forward errors from hci_register_dev



We need to catch errors when calling hci_add_sysfs() and return them to
the caller to avoid kernel oopses on device_add() failure.

Signed-off-by: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent ce242970
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment