diff options
| author | 2022-09-27 09:58:15 -0700 | |
|---|---|---|
| committer | 2022-09-28 12:16:10 -0700 | |
| commit | 4b8af331bb4d4cc8bb91c284b11b98dd1e265185 (patch) | |
| tree | 405cf62194795e8721993cc719b5f74a5d99e960 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | Bluetooth: hci_core: Fix not handling link timeouts propertly (diff) | |
| download | linux-dev-4b8af331bb4d4cc8bb91c284b11b98dd1e265185.tar.xz linux-dev-4b8af331bb4d4cc8bb91c284b11b98dd1e265185.zip | |
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>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
