]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Fix response on confirm_name
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Thu, 27 Feb 2014 15:47:28 +0000 (16:47 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Feb 2014 16:41:09 +0000 (08:41 -0800)
commitd3a2541d83dbdb4dd35eb34ac45b036acde278c6
tree3c8b9e501739acec687a9d051c7e69d1e83d2823
parentdd2ef8e274b265a0af1cc0d3ddafd361fc3a00a6
Bluetooth: Fix response on confirm_name

According to mgmt-api.txt, in case of confirm name command,
cmd_complete should be always use as a response. Not command status
as it is now for failures.
Using command complete on failure is actually better as client might
be interested in device address for which confirm name failed.

Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c