Bluetooth: Move mgmt response convenience functions to a better location
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 25 Sep 2013 10:26:07 +0000 (13:26 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 25 Sep 2013 17:30:10 +0000 (14:30 -0300)
commitbd99abdd5b876406c34b872956b3237e18613566
tree32e7b06acf44efdae06740cb3af9fae6d67d8b14
parent87b95ba64efcfcf70a9f9933297994aada64cd74
Bluetooth: Move mgmt response convenience functions to a better location

The settings_rsp and cmd_status_rsp functions can be useful for all mgmt
command handlers when asynchronous request callbacks are used. They will
e.g. be used by subsequent patches to change set_le to use an async
request as well as a new set_advertising command. Therefore, move them
higher up in the mgmt.c file to avoid unnecessary forward declarations
or mixing this trivial change with other patches.

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