summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/bluetooth.h
diff options
context:
space:
mode:
authorJohan Hedberg2013-01-20 13:27:17 +0100
committerGustavo Padovan2013-01-23 04:57:04 +0100
commit44b20d33962a73ca14b934540e9168e0da1b49ab (patch)
treead495d9369bc9616a247a16059bb2537895a49b0 /include/net/bluetooth/bluetooth.h
parentBluetooth: Refactor valid LTK data testing into its own function (diff)
downloadkernel-qcow2-linux-44b20d33962a73ca14b934540e9168e0da1b49ab.tar.gz
kernel-qcow2-linux-44b20d33962a73ca14b934540e9168e0da1b49ab.tar.xz
kernel-qcow2-linux-44b20d33962a73ca14b934540e9168e0da1b49ab.zip
Bluetooth: Check for valid key->authenticated value for LTKs
This patch adds necessary checks for the two allowed values of the authenticated parameter of each Long Term Key, i.e. 0x00 and 0x01. If any other value is encountered the valid response is to return invalid params to user space. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
0 files changed, 0 insertions, 0 deletions