author | Wenjie Li <wenjie.li@amlogic.com> | 2017-03-09 09:15:48 (GMT) |
---|---|---|
committer | Wenjie Li <wenjie.li@amlogic.com> | 2017-03-09 09:15:48 (GMT) |
commit | 732b0aa481ff6e49c47becfbe70b379a1fb75c84 (patch) | |
tree | a57c7c9d6b2b65ba985c3558bff1ba24e362cd3f | |
parent | c3e3b342e7b1e4187406c645e00e9d02e52a7c5c (diff) | |
download | libbt-732b0aa481ff6e49c47becfbe70b379a1fb75c84.zip libbt-732b0aa481ff6e49c47becfbe70b379a1fb75c84.tar.gz libbt-732b0aa481ff6e49c47becfbe70b379a1fb75c84.tar.bz2 |
PD#140441: bt: AP6212 and AP6255 fixed skype real-time speech
Change-Id: Idef5048be952600b0f0f8c45b334aa4fe439b2af
-rwxr-xr-x | src/hardware.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardware.c b/src/hardware.c index 02103ca..ea1a41e 100755 --- a/src/hardware.c +++ b/src/hardware.c @@ -1420,11 +1420,11 @@ static int hw_set_SCO_codec(uint16_t codec) else { /* Disable mSBC */ - *p++ = (SCO_CODEC_PARAM_SIZE - 2); /* set the parameter size */ + *p++ = (SCO_CODEC_PARAM_SIZE); /* set the parameter size */ UINT8_TO_STREAM(p,0); /* disable */ /* set the totall size of this packet */ - p_buf->len = HCI_CMD_PREAMBLE_SIZE + SCO_CODEC_PARAM_SIZE - 2; + p_buf->len = HCI_CMD_PREAMBLE_SIZE + SCO_CODEC_PARAM_SIZE; p_set_SCO_codec_cback = hw_set_CVSD_codec_cback; if ((codec != SCO_CODEC_CVSD) && (codec != SCO_CODEC_NONE)) |