* [PATCH BlueZ] device: Clear pending_wake_allowed on error
@ 2025-01-10 17:31 Ludovico de Nittis
2025-01-10 18:31 ` [BlueZ] " bluez.test.bot
2025-01-13 20:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Ludovico de Nittis @ 2025-01-10 17:31 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Ludovico de Nittis
If setting WakeAllowed fails, we should unset the `pending_wake_allowed`
property, or subsequent requests will be rejected due to another
"Property change in progress".
Fixes: https://github.com/bluez/bluez/issues/1047
---
src/device.c | 1 +
1 file changed, 1 insertion(+)
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;
}
--
2.47.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ] device: Clear pending_wake_allowed on error
2025-01-10 17:31 [PATCH BlueZ] device: Clear pending_wake_allowed on error Ludovico de Nittis
@ 2025-01-10 18:31 ` bluez.test.bot
2025-01-13 20:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-01-10 18:31 UTC (permalink / raw)
To: linux-bluetooth, ludovico.denittis
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=924349
---Test result---
Test Summary:
CheckPatch PENDING 0.20 seconds
GitLint PENDING 0.25 seconds
BuildEll PASS 20.59 seconds
BluezMake PASS 1509.98 seconds
MakeCheck PASS 13.05 seconds
MakeDistcheck PASS 156.96 seconds
CheckValgrind PASS 213.77 seconds
CheckSmatch PASS 272.33 seconds
bluezmakeextell PASS 98.24 seconds
IncrementalBuild PENDING 0.30 seconds
ScanBuild PASS 863.29 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ] device: Clear pending_wake_allowed on error
2025-01-10 17:31 [PATCH BlueZ] device: Clear pending_wake_allowed on error Ludovico de Nittis
2025-01-10 18:31 ` [BlueZ] " bluez.test.bot
@ 2025-01-13 20:50 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-01-13 20:50 UTC (permalink / raw)
To: Ludovico de Nittis; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Fri, 10 Jan 2025 18:31:46 +0100 you wrote:
> If setting WakeAllowed fails, we should unset the `pending_wake_allowed`
> property, or subsequent requests will be rejected due to another
> "Property change in progress".
>
> Fixes: https://github.com/bluez/bluez/issues/1047
> ---
> src/device.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [BlueZ] device: Clear pending_wake_allowed on error
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=2ee08ffd4d46
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-13 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 17:31 [PATCH BlueZ] device: Clear pending_wake_allowed on error Ludovico de Nittis
2025-01-10 18:31 ` [BlueZ] " bluez.test.bot
2025-01-13 20:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).