socket_fd = _bt_l2cap_le_socket_listen(psm, true);
if (socket_fd > 0) {
result = BLUETOOTH_ERROR_NONE;
+ sender = (char *)g_dbus_method_invocation_get_sender(context);
_bt_save_invocation_context(context,
result, sender, function_name, NULL);
} else {
socket_fd = _bt_l2cap_le_socket_listen(psm, false);
if (socket_fd > 0) {
result = BLUETOOTH_ERROR_NONE;
+ sender = (char *)g_dbus_method_invocation_get_sender(context);
_bt_save_invocation_context(context, result,
sender, function_name, NULL);
} else {