OSDN Git Service

Do not send AT+CHLD=? if the 3-way call feature is not supported
authorDevin Kim <dojip.kim@lge.com>
Thu, 14 Jan 2016 01:37:57 +0000 (10:37 +0900)
committerSharvil Nanavati <sharvil@google.com>
Fri, 15 Jan 2016 02:08:16 +0000 (18:08 -0800)
commit15df6d411e871e2e1366a3599bb990ce0cb9aae1
treed764b8f8af0d27d06edcab1563145ba0aefe45ce
parentdff1aa9fe7d305a94e0de0e9d70ca22504fabcf0
Do not send AT+CHLD=? if the 3-way call feature is not supported

The HF shall not issue the AT+CHLD=? test command in case
either the HF or the AG does not support the Three-way calling feature.
Currently HF sends AT+CHLD=? to AG device when SLC sequence on going.
It affects to SCO statemachine so that after going out of range and
coming back in range while active call alives, SCO state goes bad and
never comes back. This is out of specification of HFP and it should be
fixed by checking peer and local 3way call capability check.

Bug: 25703926
Change-Id: I66adac2345c6fb0df6741fdbfa67d9483fc38a00
bta/hf_client/bta_hf_client_main.c