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)
commit359ee4f834f5b4f8096f7edc0c20ef37d1fca861
tree53f7464c682942e9426d93f09565eca324c332d8
parent0acef50ba3b5ee95bd1598ef3e4c19f065d04eed
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