]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Track number of LE slave connections
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Jul 2014 08:56:08 +0000 (11:56 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Jul 2014 09:58:03 +0000 (11:58 +0200)
commitb2b8a4457920b9874d7191ed78caf59adb592604
treecc1f32226bc93cc7f7b1351c4d6e30c51b055249
parent5346ca75b723d13926f71e8d5292b77431a41b84
Bluetooth: Track number of LE slave connections

Most (probably all) controllers can only deal with a single slave LE
connection at a time. This patch adds a counter for such connections so
that the number can be quickly looked up without iterating the
connections list.

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