* [bluez/bluez] dc6c9a: obexd: Refine error handling for agent authorizati...
@ 2025-08-29 6:42 fly602
0 siblings, 0 replies; only message in thread
From: fly602 @ 2025-08-29 6:42 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/996765
Home: https://github.com/bluez/bluez
Commit: dc6c9a60b5ace1f7f1877600e6d3b586b4372655
https://github.com/bluez/bluez/commit/dc6c9a60b5ace1f7f1877600e6d3b586b4372655
Author: fuleyi <fuleyi@uniontech.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M obexd/src/manager.c
Log Message:
-----------
obexd: Refine error handling for agent authorization reply
Handle DBus error types in agent_reply() with specific errno values:
- Use -ETIMEDOUT for DBUS_ERROR_NO_REPLY (timeout)
- Use -EPERM for OBEX_ERROR_REJECT (permission denied)
- Use -EBADR for other errors
This improves the accuracy of error reporting and makes the authorization logic more robust.
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-29 6:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 6:42 [bluez/bluez] dc6c9a: obexd: Refine error handling for agent authorizati fly602
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).