Message ID | 20250110173146.309964-1-ludovico.denittis@collabora.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ] device: Clear pending_wake_allowed on error | expand |
diff --git a/src/device.c b/src/device.c index 24ef3d779..e8bff718c 100644 --- a/src/device.c +++ b/src/device.c @@ -1574,6 +1574,7 @@ static void set_wake_allowed_complete(uint8_t status, uint16_t length, mgmt_errstr(status)); dev->wake_id = -1U; } + dev->pending_wake_allowed = FALSE; return; }