diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 20:13:49 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 20:13:49 +0200 |
commit | f8558555f31e177e2644f3c8116801c3e5c29974 (patch) | |
tree | 5ad03ff814c4e1d0619e75d5f5a6033beff1c177 /net/bluetooth/hci_sock.c | |
parent | [Bluetooth] Use ACL config stage to retrieve remote features (diff) | |
download | linux-f8558555f31e177e2644f3c8116801c3e5c29974.tar.xz linux-f8558555f31e177e2644f3c8116801c3e5c29974.zip |
[Bluetooth] Initiate authentication during connection establishment
With Bluetooth 2.1 and Simple Pairing the requirement is that any new
connection needs to be authenticated and that encryption has been
switched on before allowing L2CAP to use it. So make sure that all
the requirements are fulfilled and otherwise drop the connection with
a minimal disconnect timeout of 10 milliseconds.
This change only affects Bluetooth 2.1 devices and Simple Pairing
needs to be enabled locally and in the remote host stack. The previous
changes made sure that these information are discovered before any
kind of authentication and encryption is triggered.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
0 files changed, 0 insertions, 0 deletions