]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Check address in mgmt_disconnect_failed()
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 30 Oct 2013 22:01:40 +0000 (19:01 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:03 +0000 (11:09 -0200)
commit7a8cfd5aebd1ac5fd5959d747fe9b07946086744
tree9a49203af786ed4e22787298e4fa17972bb33021
parent00735f022d093c8055dd50f4001fbe09f7ee97c5
Bluetooth: Check address in mgmt_disconnect_failed()

Check the address and address type in mgmt_disconnect_failed() otherwise
we may wrongly fail the MGMT_OP_DISCONNECT command.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c