commit | 449661b7bca8597cd4d482bee43a60d200bb38c8 | [log] [tgz] |
---|---|---|
author | Arach MOHAMMED BRAHIM <arach.mohammed.brahim@st.com> | Mon Sep 24 17:02:54 2018 +0200 |
committer | Arach MOHAMMED BRAHIM <arach.mohammed.brahim@st.com> | Mon Sep 24 17:15:38 2018 +0200 |
tree | 8ae37fc74d00cc93dc8dc3e8b3cf8d8c02bf94da | |
parent | ef5b4d9591b7aca0c99eea3e760b2cd7b5778a1c [diff] |
Lend a credit for the HCI connection at core_init_rsp Due to a race condition in AOSP, the core_conn_credits_ntf for the HCI connection may be handled before the core_init_rsp (in which the HCI conn id is set). Therefore the hci num_buff variable is set wrongfully at 0. To avoid it, a credit is lent at the core_init_rsp and taken back at the reception of the next core_conn_credits_ntf. Change-Id: I3adf5f552764958759ae74c63a155ac4e4d19d46