Bluetooth: Use an async request for mgmt_set_connectable
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:07:04 +0000 (17:07 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:02:06 +0000 (14:02 -0300)
commit2b76f4539c6a41c3dd2e73f9ca7e03bcff6c8774
treefdfef316926bbce09f130850adf6aba0480c52b0
parentb3f2ca9446f63acf5ab8552a37c4cc90af64b816
Bluetooth: Use an async request for mgmt_set_connectable

This patch changes the mgmt_set_connectable handler to use an async
request for sending the required HCI command. This is necessary
preparation for handling the fast connectable change that needs to be
associated with disabling the connectable setting.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c