Bluetooth: mgmt: Add missing powered checks to commands
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 22 Feb 2012 20:41:18 +0000 (22:41 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:01 +0000 (13:07 +0200)
commit5f97c1df5563349795f26ed249e2a8840237c569
treebca313ffb988577257e51117a8845ddebd86e8dc
parent932f5ff5e32bf520eb9287b050c926faa6e76bcf
Bluetooth: mgmt: Add missing powered checks to commands

This patch adds missing powered checks to pair_device,
cancel_pair_device, add_remote_oob_data and remove_remote_oob_data.

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