]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix mgmt_pair_device imediate error responses
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Nov 2011 22:07:35 +0000 (00:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 17:59:49 +0000 (15:59 -0200)
commitec1c5a7c36af07f708ceaa1661efcdbeb8ac2315
treeeb86f8b8c82e936a4054b14bf7aa6eba5d258527
parent014a96b83ce1267fa087e4a963336be3e447feeb
Bluetooth: Fix mgmt_pair_device imediate error responses

When possible cmd_complete should be returned instead of cmd_status
since it contains the remote address (this helps user-space track what
exactly failed).

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