Bluetooth: Add get_connections managment interface command
authorJohan Hedberg <johan.hedberg@nokia.com>
Fri, 21 Jan 2011 11:56:35 +0000 (13:56 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Feb 2011 03:40:07 +0000 (01:40 -0200)
commit2784eb41b1fbb3ff80f4921fe9dbb4c4acb6dc24
treee13ea997be45f3d1abf5f3b4733a9da075a0410f
parent17d5c04cb597418a177c3ca18dfde679636dd51c
Bluetooth: Add get_connections managment interface command

This patch adds a get_connections command to the management interface.
With this command userspace can get the current list of connected
devices. Typically this command would only be used once when enumerating
existing adapters. After that the connected and disconnected events are
used to track connections.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c