]> 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)
commit41813eb2daa850e9ef6d2901acf9eaa84604c817
tree46ba5e222954a6a9d66af48dbf8ad19b693990bf
parentd71029fda295f4c01c9bdf961362684c0188cfc1
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