Bluetooth: Set authentication requirement before requesting it
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Feb 2009 15:23:03 +0000 (16:23 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:44 +0000 (06:14 +0100)
commit96a3183322cba1a2846771b067c99b9d6f481263
treefde0c0d4c7ad3033acbeadfe67c79fa539e50feb
parent00ae4af91d8c5b6814e2bb3bfaaf743845f989eb
Bluetooth: Set authentication requirement before requesting it

The authentication requirement got only updated when the security level
increased. This is a wrong behavior. The authentication requirement is
read by the Bluetooth daemon to make proper decisions when handling the
IO capabilities exchange. So set the value that is currently expected by
the higher layers like L2CAP and RFCOMM.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c