Home
last modified time | relevance | path

Searched hist:"4 b8af331" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/bluetooth/
H A Dhci_sock.c4b8af331 Tue Sep 27 11:58:15 CDT 2022 Abhishek Pandit-Subedi <abhishekpandit@chromium.org> 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>
H A Dhci_core.c4b8af331 Tue Sep 27 11:58:15 CDT 2022 Abhishek Pandit-Subedi <abhishekpandit@chromium.org> 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>