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 6/6] main.conf: Fix default of CSIS.encrypt
Date: Mon,  2 Oct 2023 16:13:10 -0700	[thread overview]
Message-ID: <20231002231311.3104749-6-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20231002231311.3104749-1-luiz.dentz@gmail.com>

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

CSIS.encrypt setting shall default to true, not false.
---
 src/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.c b/src/main.c
index cddf1396197b..ddb73431df94 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1195,6 +1195,7 @@ static void init_defaults(void)
 	btd_opts.avdtp.stream_mode = BT_IO_MODE_BASIC;
 
 	btd_opts.advmon.rssi_sampling_period = 0xFF;
+	btd_opts.csis.encrypt = true;
 }
 
 static void log_handler(const gchar *log_domain, GLogLevelFlags log_level,
-- 
2.41.0


  parent reply	other threads:[~2023-10-02 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02 23:13 [PATCH BlueZ 1/6] shared/csip: Fix returning invalid data to attribute Size reads Luiz Augusto von Dentz
2023-10-02 23:13 ` [PATCH BlueZ 2/6] shared/csip: Fix not requiring encryption Luiz Augusto von Dentz
2023-10-02 23:13 ` [PATCH BlueZ 3/6] shared/csip: Fix not always reading SIRK value Luiz Augusto von Dentz
2023-10-02 23:13 ` [PATCH BlueZ 4/6] device: Add btd_device_get_ltk Luiz Augusto von Dentz
2023-10-02 23:13 ` [PATCH BlueZ 5/6] csip: Add support for SIRK encryption Luiz Augusto von Dentz
2023-10-02 23:13 ` Luiz Augusto von Dentz [this message]
2023-10-03  1:50 ` [BlueZ,1/6] shared/csip: Fix returning invalid data to attribute Size reads bluez.test.bot
2023-10-03 23:20 ` [PATCH BlueZ 1/6] " patchwork-bot+bluetooth

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=20231002231311.3104749-6-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).