]> git.karo-electronics.de Git - linux-beck.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)
commitf8218dc6605a7b2af843f9ff5d66229a4a0b1c45
treecc1f32226bc93cc7f7b1351c4d6e30c51b055249
parenta5c4e309b9f23b9de5475029b2cb1641ec293137
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