diff mbox series

[BlueZ,v1] btio: Fix not being able to set security level 4

Message ID 20250507162923.226716-1-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,v1] btio: Fix not being able to set security level 4 | expand

Commit Message

Luiz Augusto von Dentz May 7, 2025, 4:29 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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(-)

Comments

bluez.test.bot@gmail.com May 7, 2025, 5:55 p.m. UTC | #1
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
patchwork-bot+bluetooth@kernel.org May 7, 2025, 8:50 p.m. UTC | #2
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed,  7 May 2025 12:29:23 -0400 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> 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!
diff mbox series

Patch

diff --git a/btio/btio.c b/btio/btio.c
index 14f2b700e383..b8afe0580aa7 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -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);