Bluetooth: Return success instead of EALREADY for mgmt commands
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Nov 2011 14:18:52 +0000 (16:18 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 18:05:50 +0000 (16:05 -0200)
When the adapter state is already what is requested it's more friendly
to user-space to simply report success than to send a EALREADY error
message.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c

Simple merge