Commit ef61b6e
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: 182ee45 ("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>1 parent 4b2f4e0 commit ef61b6e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4973 | 4973 | | |
4974 | 4974 | | |
4975 | 4975 | | |
| 4976 | + | |
| 4977 | + | |
| 4978 | + | |
4976 | 4979 | | |
4977 | 4980 | | |
4978 | 4981 | | |
| |||
4984 | 4987 | | |
4985 | 4988 | | |
4986 | 4989 | | |
4987 | | - | |
4988 | | - | |
4989 | | - | |
4990 | 4990 | | |
4991 | 4991 | | |
4992 | 4992 | | |
| |||
0 commit comments