* [PATCH BlueZ v1] l2test: Fix not being able to use -X ext-flowctl
@ 2026-02-06 19:03 Luiz Augusto von Dentz
2026-02-06 19:57 ` [BlueZ,v1] " bluez.test.bot
2026-02-06 22:20 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2026-02-06 19:03 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-X ext-flowctl requires using setsockopt(BT_MODE, BT_MODE_EXT_FLOWCTL)
but instead the code was attempting to use L2CAP_OPTIONS to read the
current l2cap_options which is not support when the address type if
not BDADDR_BREDR.
Fixes: https://github.com/bluez/bluez/issues/1869
---
tools/l2test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/l2test.c b/tools/l2test.c
index 5825314b9834..7eecf1364492 100644
--- a/tools/l2test.c
+++ b/tools/l2test.c
@@ -289,7 +289,7 @@ static int getopts(int sk, struct l2cap_options *opts, bool connected)
memset(opts, 0, sizeof(*opts));
- if (bdaddr_type == BDADDR_BREDR || rfcmode) {
+ if (bdaddr_type == BDADDR_BREDR) {
optlen = sizeof(*opts);
return getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, opts, &optlen);
}
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ,v1] l2test: Fix not being able to use -X ext-flowctl
2026-02-06 19:03 [PATCH BlueZ v1] l2test: Fix not being able to use -X ext-flowctl Luiz Augusto von Dentz
@ 2026-02-06 19:57 ` bluez.test.bot
2026-02-06 22:20 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-02-06 19:57 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 1261 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=1051705
---Test result---
Test Summary:
CheckPatch PENDING 0.40 seconds
GitLint PENDING 0.49 seconds
BuildEll PASS 17.67 seconds
BluezMake PASS 631.38 seconds
MakeCheck PASS 18.24 seconds
MakeDistcheck PASS 217.45 seconds
CheckValgrind PASS 278.03 seconds
CheckSmatch PASS 312.23 seconds
bluezmakeextell PASS 166.72 seconds
IncrementalBuild PENDING 0.43 seconds
ScanBuild PASS 925.76 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ v1] l2test: Fix not being able to use -X ext-flowctl
2026-02-06 19:03 [PATCH BlueZ v1] l2test: Fix not being able to use -X ext-flowctl Luiz Augusto von Dentz
2026-02-06 19:57 ` [BlueZ,v1] " bluez.test.bot
@ 2026-02-06 22:20 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-02-06 22:20 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 Fri, 6 Feb 2026 14:03:45 -0500 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> -X ext-flowctl requires using setsockopt(BT_MODE, BT_MODE_EXT_FLOWCTL)
> but instead the code was attempting to use L2CAP_OPTIONS to read the
> current l2cap_options which is not support when the address type if
> not BDADDR_BREDR.
>
> [...]
Here is the summary with links:
- [BlueZ,v1] l2test: Fix not being able to use -X ext-flowctl
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=6704b44cce88
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-02-06 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-06 19:03 [PATCH BlueZ v1] l2test: Fix not being able to use -X ext-flowctl Luiz Augusto von Dentz
2026-02-06 19:57 ` [BlueZ,v1] " bluez.test.bot
2026-02-06 22:20 ` [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