Bluetooth: Add mgmt_pair_device command
authorJohan Hedberg <johan.hedberg@nokia.com>
Sat, 19 Feb 2011 15:05:56 +0000 (12:05 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 21 Feb 2011 20:22:43 +0000 (17:22 -0300)
commite9a416b5ce0c0f93819f55d34cf6882196e9c3b2
treed5225a0013d3e561f02fc36d89e34c0db162fcf5
parent366a033698266c304abd6365ea3bcaec36860328
Bluetooth: Add mgmt_pair_device command

This patch adds a new mgmt_pair_device which can be used to initiate a
dedicated bonding procedure. Some extra callbacks are added to the
hci_conn struct so that the pairing code can get notified of the
completion of the procedure.

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/mgmt.c