[bluez/bluez] dc6c9a: obexd: Refine error handling for agent authorizati...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/996765
  Home:   https://github.com/bluez/bluez
  Commit: dc6c9a60b5ace1f7f1877600e6d3b586b4372655
      https://github.com/bluez/bluez/commit/dc6c9a60b5ace1f7f1877600e6d3b586b4372655
  Author: fuleyi <fuleyi@xxxxxxxxxxxxx>
  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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux