)]}'
{
  "commit": "052b30b0a8eec8db5b18ad49effdf2a9ba4c1e1a",
  "tree": "a7e772ecb7b13ef1d67e75e62ae00bb68cdf398c",
  "parents": [
    "f3784d834c71689336fa272df420b45345cb6b84"
  ],
  "author": {
    "name": "Marcel Holtmann",
    "email": "marcel@holtmann.org",
    "time": "Sun Apr 26 20:01:22 2009 +0200"
  },
  "committer": {
    "name": "Marcel Holtmann",
    "email": "marcel@holtmann.org",
    "time": "Tue Apr 28 09:31:38 2009 -0700"
  },
  "message": "Bluetooth: Add different pairing timeout for Legacy Pairing\n\nThe Bluetooth stack uses a reference counting for all established ACL\nlinks and if no user (L2CAP connection) is present, the link will be\nterminated to save power. The problem part is the dedicated pairing\nwhen using Legacy Pairing (Bluetooth 2.0 and before). At that point\nno user is present and pairing attempts will be disconnected within\n10 seconds or less. In previous kernel version this was not a problem\nsince the disconnect timeout wasn\u0027t triggered on incoming connections\nfor the first time. However this caused issues with broken host stacks\nthat kept the connections around after dedicated pairing. When the\nsupport for Simple Pairing got added, the link establishment procedure\nneeded to be changed and now causes issues when using Legacy Pairing\n\nWhen using Simple Pairing it is possible to do a proper reference\ncounting of ACL link users. With Legacy Pairing this is not possible\nsince the specification is unclear in some areas and too many broken\nBluetooth devices have already been deployed. So instead of trying to\ndeal with all the broken devices, a special pairing timeout will be\nintroduced that increases the timeout to 60 seconds when pairing is\ntriggered.\n\nIf a broken devices now puts the stack into an unforeseen state, the\nworst that happens is the disconnect timeout triggers after 120 seconds\ninstead of 4 seconds. This allows successful pairings with legacy and\nbroken devices now.\n\nBased on a report by Johan Hedberg \u003cjohan.hedberg@nokia.com\u003e\n\nSigned-off-by: Marcel Holtmann \u003cmarcel@holtmann.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f69f015bbcc0093f7b11b5fb645bad6b5e2529d6",
      "old_mode": 33188,
      "old_path": "include/net/bluetooth/hci.h",
      "new_id": "ed3aea1605e89b6955e402a8b7a71c97119f42e0",
      "new_mode": 33188,
      "new_path": "include/net/bluetooth/hci.h"
    },
    {
      "type": "modify",
      "old_id": "1224bba24bdd2655492ade5d3611d997062c0e5a",
      "old_mode": 33188,
      "old_path": "include/net/bluetooth/hci_core.h",
      "new_id": "be5bd713d2c98ab97205b3a7824c755e1afd8ee1",
      "new_mode": 33188,
      "new_path": "include/net/bluetooth/hci_core.h"
    },
    {
      "type": "modify",
      "old_id": "1181db08d9de0303a72d30670521e1c9b27a32b6",
      "old_mode": 33188,
      "old_path": "net/bluetooth/hci_conn.c",
      "new_id": "75ebbe2221a30b53b657f36defffe52d0026afba",
      "new_mode": 33188,
      "new_path": "net/bluetooth/hci_conn.c"
    },
    {
      "type": "modify",
      "old_id": "15f40ea8d544e3ef68dc4d2be853427a70e2b577",
      "old_mode": 33188,
      "old_path": "net/bluetooth/hci_event.c",
      "new_id": "4e7cb88e5da974af38a85f358cf275579afa03ef",
      "new_mode": 33188,
      "new_path": "net/bluetooth/hci_event.c"
    }
  ]
}
