Bluetooth: Add convenience function for getting total connection count
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Feb 2014 12:52:16 +0000 (14:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Feb 2014 19:10:35 +0000 (11:10 -0800)
This patch adds a convenience function to return the number of
connections in the conn_hash list. This will be useful once we update
the power off procedure to disconnect any open connections.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found