linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing:
@ 2025-01-10  6:54 Shuai Zhang
  2025-01-10  8:08 ` [v1] " bluez.test.bot
  2025-01-13 20:50 ` [PATCH v1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Shuai Zhang @ 2025-01-10  6:54 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: quic_shuaz, quic_chejiang, quic_jiaymao, quic_zijuhu,
	quic_mohamull

This change is required for passing below PTS testcase:
1. BNEP/CTRL/BV-01-C

Fix the flag judgment issue, it should check type
instead of ctrl.

Signed-off-by: Shuai Zhang <quic_shuaz@quicinc.com>
---
 profiles/network/server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/network/server.c b/profiles/network/server.c
index 36a1136f6..ad2cd55bd 100644
--- a/profiles/network/server.c
+++ b/profiles/network/server.c
@@ -336,7 +336,7 @@ static gboolean bnep_setup(GIOChannel *chan,
 		 * This packet reply to any control message received,
 		 * which contains an unknown BNEP control type value.
 		 */
-		if (req->ctrl == BNEP_CONTROL)
+		if (req->type == BNEP_CONTROL)
 			bnep_send_unkown_rsp(sk, req->ctrl);
 
 		error("To few setup connection request data received");
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing:
  2025-01-10  6:54 [PATCH v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing: Shuai Zhang
@ 2025-01-10  8:08 ` bluez.test.bot
  2025-01-13 20:50 ` [PATCH v1] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-01-10  8:08 UTC (permalink / raw)
  To: linux-bluetooth, quic_shuaz

[-- Attachment #1: Type: text/plain, Size: 1260 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=924035

---Test result---

Test Summary:
CheckPatch                    PENDING   0.28 seconds
GitLint                       PENDING   0.21 seconds
BuildEll                      PASS      20.60 seconds
BluezMake                     PASS      1480.81 seconds
MakeCheck                     PASS      13.08 seconds
MakeDistcheck                 PASS      158.69 seconds
CheckValgrind                 PASS      214.87 seconds
CheckSmatch                   PASS      271.32 seconds
bluezmakeextell               PASS      97.94 seconds
IncrementalBuild              PENDING   0.33 seconds
ScanBuild                     PASS      872.10 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 v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing:
  2025-01-10  6:54 [PATCH v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing: Shuai Zhang
  2025-01-10  8:08 ` [v1] " bluez.test.bot
@ 2025-01-13 20:50 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-01-13 20:50 UTC (permalink / raw)
  To: Shuai Zhang
  Cc: linux-bluetooth, quic_chejiang, quic_jiaymao, quic_zijuhu,
	quic_mohamull

Hello:

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

On Fri, 10 Jan 2025 14:54:44 +0800 you wrote:
> This change is required for passing below PTS testcase:
> 1. BNEP/CTRL/BV-01-C
> 
> Fix the flag judgment issue, it should check type
> instead of ctrl.
> 
> Signed-off-by: Shuai Zhang <quic_shuaz@quicinc.com>
> 
> [...]

Here is the summary with links:
  - [v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing:
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=a30763866b7a

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:[~2025-01-13 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10  6:54 [PATCH v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing: Shuai Zhang
2025-01-10  8:08 ` [v1] " bluez.test.bot
2025-01-13 20:50 ` [PATCH 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;
as well as URLs for NNTP newsgroup(s).