summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-08-17 12:38:37 +0530
committerMatthew Xie <mattx@google.com>2012-08-20 14:35:02 -0700
commitcfe4e211a58a33944c588b2ed8f785ebeaa46084 (patch)
tree553ad2900c90e19b813b24227d61356d21aee53c
parentf7e6c7dbd74cf9e146ce4267b666c05d2fcff2ac (diff)
downloadexternal_bluetooth_bluedroid-cfe4e211a58a33944c588b2ed8f785ebeaa46084.zip
external_bluetooth_bluedroid-cfe4e211a58a33944c588b2ed8f785ebeaa46084.tar.gz
external_bluetooth_bluedroid-cfe4e211a58a33944c588b2ed8f785ebeaa46084.tar.bz2
Initiate Open for incoming AV even if SDP INT fails
There are some devices that do not respond to SDP request while they are in the midst of initiating an AV connection. In such cases, it is valid to ignore the SDP failure and initiate the AV open. bug 6996250 Change-Id: I16149fee9b6ee6130cf45396246948716898b167
-rw-r--r--bta/av/bta_av_ssm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bta/av/bta_av_ssm.c b/bta/av/bta_av_ssm.c
index ec3532a..9e74881 100644
--- a/bta/av/bta_av_ssm.c
+++ b/bta/av/bta_av_ssm.c
@@ -192,7 +192,7 @@ static const UINT8 bta_av_sst_opening[][BTA_AV_NUM_COLS] =
/* CI_SETCONFIG_OK_EVT */ {BTA_AV_SIGNORE, BTA_AV_SIGNORE, BTA_AV_OPENING_SST },
/* CI_SETCONFIG_FAIL_EVT */ {BTA_AV_SIGNORE, BTA_AV_SIGNORE, BTA_AV_OPENING_SST },
/* SDP_DISC_OK_EVT */ {BTA_AV_CONNECT_REQ, BTA_AV_SIGNORE, BTA_AV_OPENING_SST },
-/* SDP_DISC_FAIL_EVT */ {BTA_AV_SDP_FAILED, BTA_AV_SIGNORE, BTA_AV_INIT_SST },
+/* SDP_DISC_FAIL_EVT */ {BTA_AV_CONNECT_REQ, BTA_AV_SIGNORE, BTA_AV_OPENING_SST },
/* STR_DISC_OK_EVT */ {BTA_AV_DISC_RESULTS, BTA_AV_SIGNORE, BTA_AV_OPENING_SST },
/* STR_DISC_FAIL_EVT */ {BTA_AV_OPEN_FAILED, BTA_AV_SIGNORE, BTA_AV_CLOSING_SST },
/* STR_GETCAP_OK_EVT */ {BTA_AV_GETCAP_RESULTS, BTA_AV_SIGNORE, BTA_AV_OPENING_SST },