Bluetooth: mgmt: Fix unpair_device responses
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 22 Feb 2012 20:53:34 +0000 (22:53 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:01 +0000 (13:07 +0200)
This patch adds an error return when not powered and cleans up/simpifies
the function logic in the same go.

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

Simple merge