]> git.karo-electronics.de Git - karo-tx-linux.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)
commit1425acb74b6d58690d78027021ce1d8f3068c66f
treeeb86f8b8c82e936a4054b14bf7aa6eba5d258527
parentba4e564f60064689661882c84fa2ee63e39b457e
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