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>
This commit is contained in:
parent
0acef50ba3
commit
359ee4f834
3 changed files with 30 additions and 8 deletions
|
|
@ -1286,6 +1286,8 @@ void hci_free_dev(struct hci_dev *hdev);
|
|||
int hci_register_dev(struct hci_dev *hdev);
|
||||
void hci_unregister_dev(struct hci_dev *hdev);
|
||||
void hci_release_dev(struct hci_dev *hdev);
|
||||
int hci_register_suspend_notifier(struct hci_dev *hdev);
|
||||
int hci_unregister_suspend_notifier(struct hci_dev *hdev);
|
||||
int hci_suspend_dev(struct hci_dev *hdev);
|
||||
int hci_resume_dev(struct hci_dev *hdev);
|
||||
int hci_reset_dev(struct hci_dev *hdev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue