Commit: d35bae15152bb61008f4ca5643184377ef31c7ff
Parent: f93a73b2a54c8b742f601bd3e15b6fb8407e4f44
Author: Amisha Jain <quic_amisjain@quicinc.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-10-24 17:19:25
Tree: 8b8b678b1d3d8a78327f63f5d7559111cf70539e

obex: Resolve SRM issue for PTS testcases Add check for unknown/undefined srm value. This fix is required to pass the below the PTS testcases : 1. OPP/SR/GOEP/SRM/BI-02-C 2. FTP/SR/GOEP/SRM/BI-02-C 3. PBAP/PSE/GOEP/SRM/BI-05-C Description - Verify that the Server ignores a SRM header with an invalid value in the PUT/GET request and carries on with the PUT/GET operation with SRM disabled. Current Behaviour - Server is sending SRM enable in the response even though receiving the unknown SRM value. To fix this, I have added the check to verify the valid SRM values before continuing with SRM enable.

Diffstat

M gobex/gobex.c | 9 +++++++++

1 files changed, 9 insertions(+), 0 deletions(-)

View Full Diff | Patch