SAP: Close RFCOMM connection immediately if access is denied.
Usecase 1) Pair with carkit and connect HF and A2DP/AVRCP. 2) Carkit sends SAP connect request. Reject this request from DUT. 3) Power off/on carkit. 4) Carkit sends SAP connection request to DUT. Expectation: SAP connection is rejected, but carkit can reconnect HF and A2DP/AVRCP Observation: Unable to connect any profiles after power cycling carkit. Root Cause: Even thought DUT rejects incoming SAP RFCOMM connection request whose access was previously rejected by DUT, RFCOMM connection is not closed from DUT until time out of 30 seconds. This prevents carkit from sending new connect request for previously connected profiles like HFP, A2DP/AVRCP. Fix: Close RFCOMM connection in case request is from remote device whose access is already denied by DUT in previous attempt. CRs-Fixed: 1064006 Change-Id: I31bd2dfd862f7f69e46b8012924942e08e850c95
Loading
Please register or sign in to comment