]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita13253f6783f6e1f954bb0ca6f91d33429dc6df5
treebf8bbda1b5b32125b81a76e069f85ae745cc768c
parentdee3f3cb60898314aad66dc550cef8d2dd80550a
Bluetooth: Return success instead of EALREADY for mgmt commands

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