aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorAlain Michaud <alainm@chromium.org>2020-03-25 14:48:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2020-03-25 15:50:35 +0100
commit32b50729d91f0b59336851bf765b9423add00710 (patch)
tree6c14be997d596f4efc4813779407428686abe7ae /include/net/bluetooth/l2cap.h
parentBluetooth: L2CAP: Add get_peer_pid callback (diff)
downloadlinux-dev-32b50729d91f0b59336851bf765b9423add00710.tar.xz
linux-dev-32b50729d91f0b59336851bf765b9423add00710.zip
Bluetooth: don't assume key size is 16 when the command fails
With this change, the encryption key size is not assumed to be 16 if the read_encryption_key_size command fails for any reason. This ensures that if the controller fails the command for any reason that the encryption key size isn't implicitely set to 16 and instead take a more concervative posture to assume it is 0. Signed-off-by: Alain Michaud <alainm@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
0 files changed, 0 insertions, 0 deletions