Message ID | 20241022102222.279614-1-quic_amisjain@quicinc.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2] obex: Resolve SRM issue for PTS testcases | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
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/IncrementalBuild | success | Incremental Build PASS |
tedd_an/ScanBuild | success | Scan Build PASS |
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=901785 ---Test result--- Test Summary: CheckPatch PASS 0.39 seconds GitLint PASS 0.28 seconds BuildEll PASS 25.15 seconds BluezMake PASS 1662.17 seconds MakeCheck PASS 13.12 seconds MakeDistcheck PASS 181.06 seconds CheckValgrind PASS 255.14 seconds CheckSmatch PASS 358.32 seconds bluezmakeextell PASS 120.60 seconds IncrementalBuild PASS 1454.48 seconds ScanBuild PASS 1047.25 seconds --- Regards, Linux Bluetooth
diff --git a/gobex/gobex.c b/gobex/gobex.c index 40d6b8129..e072205ea 100644 --- a/gobex/gobex.c +++ b/gobex/gobex.c @@ -317,6 +317,10 @@ static void set_srm(GObex *obex, guint8 op, guint8 srm) struct srm_config *config = obex->srm; gboolean enable; + if (srm != G_OBEX_SRM_DISABLE && srm != G_OBEX_SRM_ENABLE + && srm != G_OBEX_SRM_INDICATE) + return; //unknown srm value + if (config == NULL) { if (srm == G_OBEX_SRM_DISABLE) return;