Bluetooth: Fix Get Conn Info to use cmd_complete callback
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 11:42:57 +0000 (13:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Dec 2014 11:46:28 +0000 (12:46 +0100)
commit9981bdb05a220d8c58ec47357d0423d0f07f6089
tree1385c00cee8206716cca14dc819521c4f58ea1f7
parentebf86aa3aeaa4e9f434dacdd0a1d851a6c0332f8
Bluetooth: Fix Get Conn Info to use cmd_complete callback

This patch fixes the Get Connection Information mgmt command to take
advantage of the new cmd_complete callback. This allows for great
simplifications in the logic for constructing the cmd_complete event.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c