Bluetooth: mgmt: Fix set_local_name and set_dev_class powered checks
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 12:32:24 +0000 (14:32 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 16:47:46 +0000 (18:47 +0200)
Both the Set Local Name and the Set Device Class commands should fail if
the adapter is not powered on.

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

No differences found