linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 08/11] core: Reuse --compat/-C switch for enabling deprecated interfaces
Date: Fri, 28 Dec 2012 14:51:06 +0200	[thread overview]
Message-ID: <1356699069-5469-9-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1356699069-5469-1-git-send-email-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 src/main.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 2e8ba34..f6c4ee6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -524,10 +524,12 @@ int main(int argc, char *argv[])
 	if (option_experimental)
 		gdbus_flags = G_DBUS_FLAG_ENABLE_EXPERIMENTAL;
 
-	g_dbus_set_flags(gdbus_flags);
-
-	if (option_compat == TRUE)
+	if (option_compat == TRUE) {
 		sdp_flags |= SDP_SERVER_COMPAT;
+		gdbus_flags |= G_DBUS_FLAG_ENABLE_DEPRECATED;
+	}
+
+	g_dbus_set_flags(gdbus_flags);
 
 	start_sdp_server(sdp_mtu, sdp_flags);
 
-- 
1.8.0.1


  parent reply	other threads:[~2012-12-28 12:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 12:50 [PATCH BlueZ 00/11] Add experimental command line switch option Luiz Augusto von Dentz
2012-12-28 12:50 ` [PATCH BlueZ 01/11] gdbus: Introduce G_DBUS_METHOD_FLAG_EXPERIMENTAL Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 02/11] gdbus: Introduce G_DBUS_SIGNAL_FLAG_EXPERIMENTAL Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 03/11] gdbus: Introduce G_DBUS_PROPERTY_FLAG_EXPERIMENTAL Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 04/11] gdbus: Check if the interface being registered is valid Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 05/11] gdbus: Call check_signals when sending signals with g_dbus_send_message Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 06/11] gdbus: Introduce G_DBUS_FLAG_ENABLE_DEPRECATED Luiz Augusto von Dentz
2012-12-30 18:52   ` Marcel Holtmann
2012-12-28 12:51 ` [PATCH BlueZ 07/11] core: Add command line switch for enabling experimental interfaces Luiz Augusto von Dentz
2012-12-28 12:51 ` Luiz Augusto von Dentz [this message]
2012-12-28 12:51 ` [PATCH BlueZ 09/11] media: Enable RegisterPlayer and UnregisterPlayer methods as experimental Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 10/11] player: Enable MediaPlayer1 interface " Luiz Augusto von Dentz
2012-12-28 12:51 ` [PATCH BlueZ 11/11] AVRCP: Fix not checking for media_player_controller_create Luiz Augusto von Dentz
2012-12-30 19:02 ` [PATCH BlueZ 00/11] Add experimental command line switch option Marcel Holtmann

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=1356699069-5469-9-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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 NNTP newsgroup(s).