diff mbox series

[v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing:

Message ID 20250110065444.3192525-1-quic_shuaz@quicinc.com (mailing list archive)
State Accepted
Commit a30763866b7a6d5bf5001df66223c286c63698b4
Headers show
Series [v1] BNEP: Fix the BNEP Unknown Control Message in PTS testing: | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/BuildEll success Build ELL PASS
tedd_an/BluezMake success Bluez Make PASS
tedd_an/MakeCheck success Bluez Make Check PASS
tedd_an/MakeDistcheck success Make Distcheck PASS
tedd_an/CheckValgrind success Check Valgrind PASS
tedd_an/CheckSmatch success CheckSparse PASS
tedd_an/bluezmakeextell success Make External ELL PASS
tedd_an/ScanBuild success Scan Build PASS

Commit Message

Shuai Zhang Jan. 10, 2025, 6:54 a.m. UTC
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(-)

Comments

bluez.test.bot@gmail.com Jan. 10, 2025, 8:08 a.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=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
patchwork-bot+bluetooth@kernel.org Jan. 13, 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 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!
diff mbox series

Patch

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");