diff options
author | Abhishek Pandit-Subedi <abhishekpandit@chromium.org> | 2022-07-25 15:34:21 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-26 13:35:13 -0700 |
commit | ef61b6ea154464fefd8a6712d7a3b43b445c3d4a (patch) | |
tree | 38ed3eb7fa840652dd1defceddd99e86e0ae4f69 /include/net/bluetooth/l2cap.h | |
parent | 4b2f4e072fb2599b6a2e5e277f0d2b5705eaa630 (diff) |
Bluetooth: Always set event mask on suspend
When suspending, always set the event mask once disconnects are
successful. Otherwise, if wakeup is disallowed, the event mask is not
set before suspend continues and can result in an early wakeup.
Fixes: 182ee45da083 ("Bluetooth: hci_sync: Rework hci_suspend_notifier")
Cc: stable@vger.kernel.org
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
0 files changed, 0 insertions, 0 deletions