diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-06-08 16:46:13 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-21 17:06:49 -0700 |
commit | 9111786492f13501baf576b772c96bf0e4d5bbcb (patch) | |
tree | ec39b84934571a9e59efeccb241a8e0cfb31e6d9 /net/bluetooth/eir.c | |
parent | 4f17c2b6694d0c4098f33b07ee3a696976940aa5 (diff) | |
download | linux-9111786492f13501baf576b772c96bf0e4d5bbcb.tar.gz linux-9111786492f13501baf576b772c96bf0e4d5bbcb.tar.bz2 linux-9111786492f13501baf576b772c96bf0e4d5bbcb.zip |
Bluetooth: fix an error code in hci_register_dev()
Preserve the error code from hci_register_suspend_notifier(). Don't
return success.
Fixes: d6bb2a91f95b ("Bluetooth: Unregister suspend with userchannel")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/eir.c')
0 files changed, 0 insertions, 0 deletions