linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon@janc.net.pl>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon@janc.net.pl>
Subject: [PATCH 2/3] mgmtops: Add debug print to update_settings
Date: Mon,  5 Mar 2012 20:05:24 +0100	[thread overview]
Message-ID: <1330974325-4071-2-git-send-email-szymon@janc.net.pl> (raw)
In-Reply-To: <1330974325-4071-1-git-send-email-szymon@janc.net.pl>

Print settings for easier tracking what has changed.
---
 plugins/mgmtops.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index afed165..4970b7c 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -310,6 +310,8 @@ static void update_settings(struct btd_adapter *adapter, uint32_t settings)
 	uint8_t on_mode;
 	uint16_t index, discoverable_timeout;
 
+	DBG("new settings %x", settings);
+
 	btd_adapter_get_mode(adapter, NULL, &on_mode, &discoverable_timeout,
 								&pairable);
 
-- 
1.7.9.1



  reply	other threads:[~2012-03-05 19:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 19:05 [PATCH 1/3] mgmtops: When settings discoverable also set connectable if not set yet Szymon Janc
2012-03-05 19:05 ` Szymon Janc [this message]
2012-03-05 19:05 ` [PATCH 3/3] mgmtops: Use DBG not error for printing name in read_info_complete Szymon Janc
2012-03-05 19:36 ` [PATCH 1/3] mgmtops: When settings discoverable also set connectable if not set yet Johan Hedberg

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=1330974325-4071-2-git-send-email-szymon@janc.net.pl \
    --to=szymon@janc.net.pl \
    --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).