Audio connect issue if 2 Headset already connected 24/139524/1
authorBiman Paul <biman.paul@samsung.com>
Wed, 19 Jul 2017 06:43:14 +0000 (12:13 +0530)
committerAnurag Biradar <biradar.a@samsung.com>
Wed, 19 Jul 2017 08:28:27 +0000 (13:58 +0530)
commitc2f8a632e3d6d17cbb252873b60301cace5b38a5
treed28a88a0f1d42d5626074f86fe8feace2a37fbc8
parent4155613e1a858385078607b558979ee3dac9a8c6
Audio connect issue if 2 Headset already connected

Unable to connect to 3rd headset if already connected to 2 headsets
(with one over HFP and other over A2DP)

Global variable which contains the connection request is getting freed
So free the global data when none of device is connected.

Change-Id: Ie01c72e0560183477a3f06455a765153f2f085ad
bt-service/bt-service-audio.c
bt-service/bt-service-event-receiver.c