)]}'
{
  "commit": "23bb57633df97ede067ea26f3cdc8a7ba2cd8109",
  "tree": "3aa9a25b17da84975691af7159b030f810560e38",
  "parents": [
    "c71e97bfaadfa727669fcfcf12301744fd169091"
  ],
  "author": {
    "name": "Johan Hedberg",
    "email": "johan.hedberg@nokia.com",
    "time": "Tue Dec 21 23:01:27 2010 +0200"
  },
  "committer": {
    "name": "Gustavo F. Padovan",
    "email": "padovan@profusion.mobi",
    "time": "Wed Dec 22 22:58:07 2010 -0200"
  },
  "message": "Bluetooth: Fix __hci_request synchronization for hci_open_dev\n\nThe initialization function used by hci_open_dev (hci_init_req) sends\nmany different HCI commands. The __hci_request function should only\nreturn when all of these commands have completed (or a timeout occurs).\nSeveral of these commands cause hci_req_complete to be called which\ncauses __hci_request to return prematurely.\n\nThis patch fixes the issue by adding a new hdev-\u003ereq_last_cmd variable\nwhich is set during the initialization procedure. The hci_req_complete\nfunction will no longer mark the request as complete until the command\nmatching hdev-\u003ereq_last_cmd completes.\n\nSigned-off-by: Johan Hedberg \u003cjohan.hedberg@nokia.com\u003e\nAcked-by: Marcel Holtmann \u003cmarcel@holtmann.org\u003e\nSigned-off-by: Gustavo F. Padovan \u003cpadovan@profusion.mobi\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3786ee83604e9907d86733094acf1fd9bed98258",
      "old_mode": 33188,
      "old_path": "include/net/bluetooth/hci_core.h",
      "new_id": "a29feb01854eb9ad0940cc52fe51bbc759614222",
      "new_mode": 33188,
      "new_path": "include/net/bluetooth/hci_core.h"
    },
    {
      "type": "modify",
      "old_id": "1a4ec97d5ac4c7ea537a6c85e541a240aa1d3c2a",
      "old_mode": 33188,
      "old_path": "net/bluetooth/hci_core.c",
      "new_id": "8b602d881fd758f88a5d7a8cca8d2e7d03caeb92",
      "new_mode": 33188,
      "new_path": "net/bluetooth/hci_core.c"
    },
    {
      "type": "modify",
      "old_id": "8923b36a67a28d69952807da655cdfb42717119a",
      "old_mode": 33188,
      "old_path": "net/bluetooth/hci_event.c",
      "new_id": "38100170d380a1f794c1ea75b7723f36312a7212",
      "new_mode": 33188,
      "new_path": "net/bluetooth/hci_event.c"
    }
  ]
}
