[PATCH BlueZ v4 4/5] player.c: Remove bt_shell_noninteractive_quit on commands

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

 



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 c9c6779f3..49bb52f98 100644
--- a/client/player.c
+++ b/client/player.c
@@ -4893,7 +4893,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)
@@ -4945,7 +4945,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





[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