a2dp: Add reverse discovery
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 22 Jan 2019 13:28:12 +0000 (15:28 +0200)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 11:16:02 +0000 (16:46 +0530)
commit7195cc0d3cea7d05adc23a2e9fe9084df36cfc01
treec98f96da8b39a09e60d745beab7a8c36d27df928
parent35c950084492be2b09cda9f6b69a54a154511f00
a2dp: Add reverse discovery

Now that remote endpoints are exposed there is a chance that a
configured device will reconnect and initiate SetConfiguration skipping
the discovery phase which is now required in order to be able to switch
endpoints, so this introduces the reverse discovery logic in order to
find out about remote endpoints capabilities if they have not been
found yet.

Change-Id: Ib92837aca13a17ccc1b37e363d157f0cdb6e13bc
Signed-off-by: himanshu <h.himanshu@samsung.com>
profiles/audio/a2dp.c