]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce a flag to track who really initiates authentication
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 17 Jul 2014 12:35:39 +0000 (15:35 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Jul 2014 12:39:40 +0000 (14:39 +0200)
commit81fc7104c94c99678b99ab4e2f2c86642ba934c3
treeb2a84081d8c112589b06ac044a78b955b2b8becd
parent2afebda26cd32856d9e56a82dad6f307681b6f54
Bluetooth: Introduce a flag to track who really initiates authentication

Even though our side requests authentication, the original action that
caused it may be remotely triggered, such as an incoming L2CAP or RFCOMM
connect request. To track this information introduce a new hci_conn flag
called HCI_CONN_AUTH_INITIATOR.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c