linux/net/bluetooth
Abhishek Pandit-Subedi 4b8af331bb Bluetooth: Prevent double register of suspend
Suspend notifier should only be registered and unregistered once per
hdev. Simplify this by only registering during driver registration and
simply exiting early when HCI_USER_CHANNEL is set.

Reported-by: syzbot <syzkaller@googlegroups.com>
Fixes: 359ee4f834f5 (Bluetooth: Unregister suspend with userchannel)
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2022-09-28 12:16:10 -07:00
..
2022-03-07 11:40:41 +00:00
2022-03-07 11:40:41 +00:00
2021-04-27 17:05:53 -07:00
2022-07-21 17:15:31 -07:00
2021-06-26 07:12:37 +02:00