Skip to contentSkip to conversation

btio: Fix not being able to set security level 4

PATCH Applied Luiz Augusto von Dentz 3 participants 3 messages May 7, 2025 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 btio: Fix not being able to set security level 4

From: Luiz Augusto von Dentz <[email protected]>

This adds support for BT_IO_SEC_FIPS which shall represent the security level 4.

---
 btio/btio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
btio/btio.c +1 -1
index 14f2b700e383..b8afe0580aa7 100644
@@ -455,7 +455,7 @@ static gboolean set_sec_level(int sock, BtIOType type, int level, GError **err)
 	struct bt_security sec;
 	int ret;
 
-	if (level < BT_SECURITY_LOW || level > BT_SECURITY_HIGH) {
+	if (level < BT_SECURITY_LOW || level > BT_SECURITY_FIPS) {
 		g_set_error(err, BT_IO_ERROR, EINVAL,
 				"Valid security level range is %d-%d",
 				BT_SECURITY_LOW, BT_SECURITY_HIGH);
Signature · 1 line
2.49.0
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=960563

---Test result---

Test Summary:

CheckPatch                    PENDING   0.28 seconds
GitLint                       PENDING   0.29 seconds
BuildEll                      PASS      20.35 seconds
BluezMake                     PASS      2742.55 seconds
MakeCheck                     PASS      20.11 seconds
MakeDistcheck                 PASS      198.54 seconds
CheckValgrind                 PASS      275.48 seconds
CheckSmatch                   PASS      302.18 seconds
bluezmakeextell               PASS      127.74 seconds
IncrementalBuild              PENDING   0.33 seconds
ScanBuild                     PASS      904.61 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Luiz Augusto von Dentz
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 7 lines · On Wed, 7 May 2025 12:29:23 -0400 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

This adds support for BT_IO_SEC_FIPS which shall represent the security level 4.

---
 btio/btio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [BlueZ,v1] btio: Fix not being able to set security level 4

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=72dddc80def4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html