]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix checking for valid disconnect parameters in unpair_device
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 20 Jan 2013 12:27:20 +0000 (14:27 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 23 Jan 2013 04:00:05 +0000 (02:00 -0200)
commit688b953e0a93cf864c449a00e38f7a7f6aba0aa5
treeee56972651c584b0033284bd1d95bcdf69e1f27e
parentda9c8349533d30100fbe1694296d9199017f42c2
Bluetooth: Fix checking for valid disconnect parameters in unpair_device

The valid values for the Disconnect parameter in the Unpair Device
command are 0x00 and 0x01. If any other value is encountered the command
should fail with the appropriate invalid params response.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c