Bluetooth: Convert Unpair Device to use cmd_complete callback
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 11:36:05 +0000 (13:36 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Dec 2014 11:46:10 +0000 (12:46 +0100)
commitd8b7b1e49abe98d67f589d6326658a48d810f875
treeaa566c974437c47378c45c886b199adcc109b5ee
parent04ab2749ea96a79f5eba3ca26d46f4283b5509a6
Bluetooth: Convert Unpair Device to use cmd_complete callback

This patch updates the Unpair Device code to take advantage of the
cmd_complete callback of struct pending_cmd.

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