Fix PBAP Connection fails if HFP is restricted 08/143608/1
authorAnurag Biradar <biradar.a@samsung.com>
Thu, 3 Aug 2017 05:49:26 +0000 (11:19 +0530)
committerBiman Paul <biman.paul@samsung.com>
Thu, 10 Aug 2017 12:29:33 +0000 (17:59 +0530)
commit45b77e3110ae4ae49226ff529fa3018bc7ffa1c0
tree56c7657efb615c4b9276cde14bb36abc037ea3db
parentee1620ce6e2be40bcd357ab70c03f838c9f10d77
Fix PBAP Connection fails if HFP is restricted

[Model] Z400F
[BinType] AP
[Customer] All

[Issue#] NA
[Request] Monitoring Test
[Occurrence Version] QG1

[Problem] If HFP Flag is restricted, further PBAP connection will get rejected
[Cause & Measure] On Incoming connection we are directly checking if HFP is
restricted or not without even considering incoming connection can be for
different profile.
Measure: Before rejecting the connection check for uuid is this connection
request is for HFP

[Checking Method] Connect to Meacapp(HFP and A2DP) -> From Profile View
Disconnect both connection -> Send PBAP connection request -> Check if
connection is possible or not.

[Team] Bluetooth
[Developer] Anurag B
[Solution company] Samsung
[Change Type] N/A

Change-Id: I9cd4067eeb5c55e563c6bdc4cf6595b0ec46d829
src/profile.c