]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix checking for valid address type values in mgmt commands
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 20 Jan 2013 12:27:19 +0000 (14:27 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 23 Jan 2013 03:59:55 +0000 (01:59 -0200)
commitda9c8349533d30100fbe1694296d9199017f42c2
tree46ba5e222954a6a9d66af48dbf8ad19b693990bf
parentaba772bc0ed18f6305aecf3c064c2be5d8c1babf
Bluetooth: Fix checking for valid address type values in mgmt commands

This patch adds checks for valid address type values passed to mgmt
commands. If an invalid address type is encountered the code will return
a proper 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