summaryrefslogtreecommitdiffstats
path: root/stack
diff options
context:
space:
mode:
authorZhihai Xu <zhihaixu@google.com>2013-04-17 18:13:40 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-04-17 18:13:40 +0000
commit74b826399b0ce0d13e8cea3e44c058495b3d6abc (patch)
tree61e59e81412acaa8acae5e360c7433e0ead6500a /stack
parent2e5a95d39f6c131142610d10f395aeeea4df5acf (diff)
parent24c0f58c67c569e92e7b7d46e2d0cd29ebb64eb7 (diff)
downloadandroid_system_bt-74b826399b0ce0d13e8cea3e44c058495b3d6abc.tar.gz
android_system_bt-74b826399b0ce0d13e8cea3e44c058495b3d6abc.tar.bz2
android_system_bt-74b826399b0ce0d13e8cea3e44c058495b3d6abc.zip
Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev
Diffstat (limited to 'stack')
-rw-r--r--stack/btm/btm_acl.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/stack/btm/btm_acl.c b/stack/btm/btm_acl.c
index 21307c107..ea1c68e68 100644
--- a/stack/btm/btm_acl.c
+++ b/stack/btm/btm_acl.c
@@ -1336,16 +1336,9 @@ void btm_read_remote_features (UINT16 handle)
p_acl_cb->num_read_pages = 0;
memset (p_acl_cb->peer_lmp_features, 0, sizeof(p_acl_cb->peer_lmp_features));
- /* If this BT controller supports Read Extended Feature */
- if (btm_cb.devcb.local_version.hci_version >= HCI_PROTO_VERSION_2_0)
- {
- btm_read_remote_ext_features(handle, HCI_EXT_FEATURES_PAGE_0);
- }
- /* else, if this is a very old BT controller */
- else
- {
- btsnd_hcic_rmt_features_req (handle);
- }
+ /* first send read remote supported features HCI command */
+ /* because we don't know whether the remote support extended feature command */
+ btsnd_hcic_rmt_features_req (handle);
}