Parent: 9be5d8018dd1b75cb9cf9d206b389049a0515c74
Author: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-04-12 17:45:58
Tree: c76beb2778f913dd0ba24890a35bfb0bc887e4e6
advertising: Do not crash in case of adv update failure The refresh_extended_adv() is used in case of direct advertising request from the client or in case of advertising properties update or configured advertising timeout. In the two latter cases it is not possible to prepare reply D-Bus message, because there is no request message to begin with. bluetoothd: ../src/advertising.c:add_client_complete() Failed to add advertisement: Busy (0x0a) dbus: arguments to dbus_message_get_no_reply() were incorrect, assertion "message != NULL" failed in file ../../../dbus/dbus-message.c line 3235. This is normally a bug in some application using the D-Bus library.
Diffstat
| M | src/advertising.c | | | 11 | ++++++++++- |
1 files changed, 10 insertions(+), 1 deletions(-)