All of lore.kernel.org
 help / color / mirror / Atom feed
From: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com>
To: linux-bluetooth@vger.kernel.org
Cc: mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com,
	vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com,
	luiz.dentz@gmail.com, iulia.tanasescu@nxp.com
Subject: [PATCH BlueZ v3 4/5] player.c: Remove bt_shell_noninteractive_quit on commands
Date: Fri, 15 Mar 2024 17:01:57 +0200	[thread overview]
Message-ID: <20240315150158.79715-5-silviu.barbulescu@nxp.com> (raw)
In-Reply-To: <20240315150158.79715-1-silviu.barbulescu@nxp.com>

cmd_acquire_transport and cmd_release_transport should not call
bt_shell_noninteractive_quit, this will be called on acquire_reply
respectively release_reply.
Only on replay the acquire\release process is finished

---
 client/player.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/player.c b/client/player.c
index c754af33d..f3f8c15eb 100644
--- a/client/player.c
+++ b/client/player.c
@@ -4895,7 +4895,7 @@ static void cmd_acquire_transport(int argc, char *argv[])
 		transport_acquire(proxy, false);
 	}
 
-	return bt_shell_noninteractive_quit(EXIT_SUCCESS);
+	return;
 }
 
 static void release_reply(DBusMessage *message, void *user_data)
@@ -4947,7 +4947,7 @@ static void cmd_release_transport(int argc, char *argv[])
 		}
 	}
 
-	return bt_shell_noninteractive_quit(EXIT_SUCCESS);
+	return;
 }
 
 static int open_file(const char *filename, int flags)
-- 
2.39.2


  parent reply	other threads:[~2024-03-15 15:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15 15:01 [PATCH BlueZ v3 0/5] Broadcast source reconfiguration support Silviu Florian Barbulescu
2024-03-15 15:01 ` [PATCH BlueZ v3 1/5] player: Add reconfiguration prompt for broadcast source Silviu Florian Barbulescu
2024-03-15 16:41   ` Guilherme Giácomo Simões
2024-03-15 15:01 ` [PATCH BlueZ v3 2/5] transport: Add support to update the transport config Silviu Florian Barbulescu
2024-03-15 15:01 ` [PATCH BlueZ v3 3/5] bap: Broadcast source reconfiguration support added Silviu Florian Barbulescu
2024-03-15 15:01 ` Silviu Florian Barbulescu [this message]
2024-03-15 15:01 ` [PATCH BlueZ v3 5/5] client: update bcast source script to support BIS reconfig Silviu Florian Barbulescu

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=20240315150158.79715-5-silviu.barbulescu@nxp.com \
    --to=silviu.barbulescu@nxp.com \
    --cc=andrei.istodorescu@nxp.com \
    --cc=iulia.tanasescu@nxp.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=mihai-octavian.urzica@nxp.com \
    --cc=vlad.pruteanu@nxp.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.