)]}'
{
  "commit": "2d150da34ec69ac10329d01cab11e9334d0faba7",
  "tree": "7e61aa25c916eb8b2999bd5a2eecdd92eb2b5698",
  "parents": [
    "a66b378950318cc5ab9be8eb3f21dd2383ae18b9"
  ],
  "author": {
    "name": "Johan Hedberg",
    "email": "johan.hedberg@intel.com",
    "time": "Thu Sep 18 11:26:32 2014 +0300"
  },
  "committer": {
    "name": "Zefan Li",
    "email": "lizefan@huawei.com",
    "time": "Mon Feb 02 17:04:37 2015 +0800"
  },
  "message": "Bluetooth: Fix setting correct security level when initiating SMP\n\ncommit 5eb596f55cacc2389554a8d7572d90d5e9d4269d upstream.\n\nWe can only determine the final security level when both pairing request\nand response have been exchanged. When initiating pairing the starting\ntarget security level is set to MEDIUM unless explicitly specified to be\nHIGH, so that we can still perform pairing even if the remote doesn\u0027t\nhave MITM capabilities. However, once we\u0027ve received the pairing\nresponse we should re-consult the remote and local IO capabilities and\nupgrade the target security level if necessary.\n\nWithout this patch the resulting Long Term Key will occasionally be\nreported to be unauthenticated when it in reality is an authenticated\none.\n\nSigned-off-by: Johan Hedberg \u003cjohan.hedberg@intel.com\u003e\nSigned-off-by: Marcel Holtmann \u003cmarcel@holtmann.org\u003e\n[lizf: Backported to 3.4: adjust context]\nSigned-off-by: Zefan Li \u003clizefan@huawei.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "605156f13899d45d0000513c3253254ace189982",
      "old_mode": 33188,
      "old_path": "net/bluetooth/smp.c",
      "new_id": "61e2494dc18821cf9e0e000121aa7f1fb8dc9122",
      "new_mode": 33188,
      "new_path": "net/bluetooth/smp.c"
    }
  ]
}
