Commit: 264bf951f2d687f520898fa3e182291f1261e3a7
Parent: af3d67d799aa08a90522ff77029c8d9e3478acc9
Author: Ludovico de Nittis <ludovico.denittis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-02-14 17:38:33
Tree: 112216acb2472ea366fca16337d731d941cf9232

device: Clear pending_flags on error If setting WakeAllowed, or the device privacy, fails, we may end up in a situation where `pending_flags` is still set to some `DEVICE_FLAG_*` values, for example from `device_set_wake_allowed()` or `adapter_set_device_flags()`. This can confuse further requests because they'll assume that there is still a pending request in progress.

Diffstat

M src/adapter.c | 1 +
M src/device.c | 1 +

2 files changed, 2 insertions(+), 0 deletions(-)

View Full Diff | Patch