PBAP: Handle PBAP reconnection problem when Phone Disconnects
Usecase:
1) Establish Pbap session with Pbap client.
2) Disconnect from PBAP Server (Phone).
3) Repeat step 1 and 2 multiple times to check if there
is issue in reconnection.
Issue:
Problem occurs in reconnection after multiple attempts.
Root Cause:
stopObexServerSession() is not invoked as connection
state is changed to DISCONNECTED before Pbap service
message handler can process MSG_SERVERSESSION_CLOSE.
Fix:
Remove condition to check connection state for calling
stopObexServerSession().
Change-Id: I92f55cf9a4b4b4557956b485de57c55dc8655303
CRs-Fixed: 2106505
1 file changed