($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH] dpp: set "" arguments to Release method call
Date: Mon, 11 Dec 2023 11:37:39 -0800	[thread overview]
Message-ID: <20231211193739.64318-1-prestwoj@gmail.com> (raw)

Without this the DBus message does not initialize the message
correctly which causes future DBus calls to fail.
---
 src/dpp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dpp.c b/src/dpp.c
index c7cd4bb3..1ff4b99e 100644
--- a/src/dpp.c
+++ b/src/dpp.c
@@ -391,6 +391,7 @@ static void dpp_agent_release(struct dpp_sm *dpp)
 						dpp->agent->path,
 						IWD_SHARED_CODE_AGENT_INTERFACE,
 						"Release");
+	l_dbus_message_set_arguments(msg, "");
 	l_dbus_message_set_no_reply(msg, true);
 	l_dbus_send(dbus_get_bus(), msg);
 }
-- 
2.34.1


             reply	other threads:[~2023-12-11 19:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-11 19:37 James Prestwood [this message]
2023-12-13 16:06 ` [PATCH] dpp: set "" arguments to Release method call Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231211193739.64318-1-prestwoj@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).