1. 17 7月, 2014 1 次提交
  2. 16 7月, 2014 6 次提交
  3. 15 7月, 2014 2 次提交
  4. 11 7月, 2014 2 次提交
    • J
      Bluetooth: Fix tracking local SSP authentication requirement · 6c53823a
      Johan Hedberg 提交于
      When we need to make the decision whether to perform just-works or real
      user confirmation we need to know the exact local authentication
      requirement that was passed to the controller. So far conn->auth_type
      (the local requirement) wasn't in one case updated appropriately in fear
      of the user confirmation being rejected later.
      
      The real problem however was not really that conn->auth_type couldn't
      represent the true value but that we were checking the local MITM
      requirement in an incorrect way. It's perfectly fine to let auth_type
      follow what we tell the controller since we're still tracking the target
      security level with conn->pending_sec_level.
      
      This patch updates the check for local MITM requirement in the
      hci_user_confirm_request_evt function to use the locally requested
      security level and ensures that auth_type always represents what we tell
      the controller. All other code in hci_user_confirm_request_evt still
      uses the auth_type instead of pending_sec_level for determining whether
      to do just-works or not, since that's the only value that's in sync with
      what the remote device knows.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Tested-by: NSzymon Janc <szymon.janc@tieto.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Cc: stable@vger.kernel.org # 3.16
      6c53823a
    • M
      Bluetooth: Move HCI request internals to net/bluetooth/hci_core.c · 899de765
      Marcel Holtmann 提交于
      The internals of the HCI request framework should not be leaking to
      its users. Move them all into net/bluetooth/hci_core.c and provide
      a simple hci_req_pending helper function for the one user outside
      the framework.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      899de765
  5. 10 7月, 2014 3 次提交
  6. 09 7月, 2014 3 次提交
  7. 08 7月, 2014 5 次提交
  8. 07 7月, 2014 4 次提交
  9. 06 7月, 2014 2 次提交
  10. 05 7月, 2014 2 次提交
  11. 04 7月, 2014 10 次提交