]> git.baikalelectronics.ru Git - kernel.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)
commitfaacacc593b980350f183ee7bc1f6f47576b7355
tree3c8b9e501739acec687a9d051c7e69d1e83d2823
parent1615d23951ed8772aa810de40effe5d9ee8bf81e
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