summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-01-09 15:05:19 +0100
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-01-10 09:22:51 +0100
commita7e80f25ae2296d78163d75d753c796270464000 (patch)
treeedc8f5b83951d7e622f41b9f3c280f39bf2a58ea /ipc
parentBluetooth: Move non-critical sections outside of the dev lock (diff)
downloadlinux-a7e80f25ae2296d78163d75d753c796270464000.tar.xz
linux-a7e80f25ae2296d78163d75d753c796270464000.zip
Bluetooth: Fix checking for exact values of boolean mgmt parameters
All mgmt_set_* commands that take a boolean value encoded in the form of a byte should only accept the values 0x00 and 0x01. This patch adds the necessary checks for this and returns "invalid params" responses if anything else is provided as the value. 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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions