summaryrefslogtreecommitdiff
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-07-17 16:14:50 +0400
committerMarcel Holtmann <marcel@holtmann.org>2014-07-17 16:28:09 +0400
commitc1d4fa7aa86e9194724dfff9cb9359edb98d75ac (patch)
tree2f8544f7bf49c22769924b6e9a4342de0d0d0245 /net/bluetooth/l2cap_sock.c
parent093facf3634da1b0c2cc7ed106f1983da901bbab (diff)
downloadlinux-c1d4fa7aa86e9194724dfff9cb9359edb98d75ac.tar.xz
Bluetooth: Fix resetting remote authentication requirement after pairing
When a new hci_conn object is created the remote SSP authentication requirement is set to the invalid value 0xff to indicate that it is unknown. Once pairing completes however the code was leaving it as-is. In case a new pairing happens over the same connection it is important that we reset the value back to unknown so that the pairing code doesn't make false assumptions about the requirements. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions