]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Unregister suspend with userchannel
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Thu, 2 Jun 2022 16:46:50 +0000 (09:46 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:05:58 +0000 (17:05 -0700)
commit41ce885d646a431659fc35518b3d399d414075a9
tree53f7464c682942e9426d93f09565eca324c332d8
parent5464da314e0e23017b8f24832b47045bd3c69988
Bluetooth: Unregister suspend with userchannel

When HCI_USERCHANNEL is used, unregister the suspend notifier when
binding and register when releasing. The userchannel socket should be
left alone after open is completed.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_sock.c