OSDN Git Service

Don't send avdtp_discover for incoming connections after setconfig_rsp.
authorSumit Bajpai <sbajpai@codeaurora.org>
Mon, 24 Oct 2016 18:37:10 +0000 (00:07 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 27 Oct 2016 12:29:10 +0000 (05:29 -0700)
commitf5fc4516be8f9cf3ba412404f1d242fe981d61c1
tree43325475cd2d29f9a72c2226a2ff3dc4a337267f
parentbb495598de134e58a34035fab7f1daeb7c89131d
Don't send avdtp_discover for incoming connections after setconfig_rsp.

For incoming connections, when remote configures a sep in setconfig
request, DUT tries to discover remote seps after setconfig response.
This is not required since remote has already configured a sep.
DUT only needs to send getcapabilites for remote's sep.
The above mentioned logic was present for SBC codec and is now
extended for all codec types.

Change-Id: Id1300d96fa72ddf8a9cd19a4a7f86fa9a563ccde
bta/av/bta_av_aact.c