• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revisionb055f8b68a530af49726329a719469f024594cda (tree)
Zeit2017-04-29 12:48:19
AutorJacky Cheung <jackyc@goog...>
CommiterAndroid (Google) Code Review

Log Message

Merge "DO NOT MERGE ANYWHERE Fix LE disconnecting right after pairing" into cw-f-dev

Ändern Zusammenfassung

Diff

--- a/stack/l2cap/l2c_utils.c
+++ b/stack/l2cap/l2c_utils.c
@@ -1745,6 +1745,12 @@ void l2cu_release_ccb (tL2C_CCB *p_ccb)
17451745 {
17461746 if (!p_lcb->ccb_queue.p_first_ccb)
17471747 {
1748+ // Closing a security channel on LE device should not start connection
1749+ // timeout
1750+ if (p_lcb->transport == BT_TRANSPORT_LE &&
1751+ p_ccb->local_cid == L2CAP_SMP_CID)
1752+ return;
1753+
17481754 l2cu_no_dynamic_ccbs (p_lcb);
17491755 }
17501756 else