]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Set authentication requirements if not available
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Feb 2009 18:45:36 +0000 (19:45 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:40 +0000 (06:14 +0100)
commit610fe7eea9a6a2d4d9c163c0a836a3cf002dda87
treea307dbea02929a8275c8c6fac5e5e95052632406
parentf5ec31f55daf18cc123194883ebb77e4a22f8e2d
Bluetooth: Set authentication requirements if not available

When no authentication requirements are selected, but an outgoing or
incoming connection has requested any kind of security enforcement,
then set these authentication requirements.

This ensures that the userspace always gets informed about the
authentication requirements (if available). Only when no security
enforcement has happened, the kernel will signal invalid requirements.

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