Bluetooth: Add set_connectable management command
authorJohan Hedberg <johan.hedberg@nokia.com>
Wed, 29 Dec 2010 22:18:33 +0000 (00:18 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Feb 2011 03:40:05 +0000 (01:40 -0200)
commit9fbcbb455dd01abfad4f314b618ac51d566114cb
treed82d36ff143611df2a41f4249432420d649d3576
parent73f22f62388795c0f6b4f3f97bda7a64f9681aac
Bluetooth: Add set_connectable management command

This patch adds a set_connectable command as well as a corresponding
event to the management interface. It's mainly useful for setting an
adapter as connectable from a non-initialized state as well as setting
an already initialized adapter as non-connectable (mostly useful for
qualification purposes).

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