system/bt
Revision | 7080584a1b69931dc069bf17a5942d66285d409c (tree) |
---|---|
Time | 2019-08-30 12:08:26 |
Author | TreeHugger Robot <treehugger-gerrit@goog...> |
Commiter | Android (Google) Code Review |
Merge "Remove direct connection after notifying the connection up" into qt-qpr1-dev
@@ -823,6 +823,9 @@ static void gatt_send_conn_cback(tGATT_TCB* p_tcb) { | ||
823 | 823 | } |
824 | 824 | } |
825 | 825 | |
826 | + /* Remove the direct connection */ | |
827 | + connection_manager::on_connection_complete(p_tcb->peer_bda); | |
828 | + | |
826 | 829 | if (!p_tcb->app_hold_link.empty() && p_tcb->att_lcid == L2CAP_ATT_CID) { |
827 | 830 | /* disable idle timeout if one or more clients are holding the link disable |
828 | 831 | * the idle timer */ |