* [PATCH BlueZ v1] adapter: Fix using case sensitive strncmp for pattern match addresses
@ 2026-06-04 17:19 Luiz Augusto von Dentz
2026-06-04 18:11 ` [BlueZ,v1] " bluez.test.bot
2026-06-04 18:30 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2026-06-04 17:19 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
When matching discovery filter pattern with addresses shall be
considered case insensitive since its binary format that can be
printed using either upper or lower case for the range a-f/A-F.
---
src/adapter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/adapter.c b/src/adapter.c
index 755c53119e32..9298eda8f3e0 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -7316,7 +7316,7 @@ static bool device_is_discoverable(struct btd_adapter *adapter,
return true;
}
- if (!strncmp(filter->pattern, addr, pattern_len)) {
+ if (!strncasecmp(filter->pattern, addr, pattern_len)) {
*auto_connect = filter->auto_connect;
return true;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ,v1] adapter: Fix using case sensitive strncmp for pattern match addresses
2026-06-04 17:19 [PATCH BlueZ v1] adapter: Fix using case sensitive strncmp for pattern match addresses Luiz Augusto von Dentz
@ 2026-06-04 18:11 ` bluez.test.bot
2026-06-04 18:30 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-06-04 18:11 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
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=1106123
---Test result---
Test Summary:
CheckPatch PASS 0.39 seconds
GitLint PASS 0.28 seconds
BuildEll PASS 21.08 seconds
BluezMake PASS 670.27 seconds
CheckSmatch PASS 352.24 seconds
bluezmakeextell PASS 185.15 seconds
IncrementalBuild PASS 665.77 seconds
ScanBuild PASS 1030.44 seconds
https://github.com/bluez/bluez/pull/2179
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ v1] adapter: Fix using case sensitive strncmp for pattern match addresses
2026-06-04 17:19 [PATCH BlueZ v1] adapter: Fix using case sensitive strncmp for pattern match addresses Luiz Augusto von Dentz
2026-06-04 18:11 ` [BlueZ,v1] " bluez.test.bot
@ 2026-06-04 18:30 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-06-04 18:30 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Thu, 4 Jun 2026 13:19:33 -0400 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> When matching discovery filter pattern with addresses shall be
> considered case insensitive since its binary format that can be
> printed using either upper or lower case for the range a-f/A-F.
> ---
> src/adapter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [BlueZ,v1] adapter: Fix using case sensitive strncmp for pattern match addresses
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=c6bc42d69661
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-04 18:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-04 17:19 [PATCH BlueZ v1] adapter: Fix using case sensitive strncmp for pattern match addresses Luiz Augusto von Dentz
2026-06-04 18:11 ` [BlueZ,v1] " bluez.test.bot
2026-06-04 18:30 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox