diff options
author | Johan Hedberg <[email protected]> | 2013-01-09 16:05:19 +0200 |
---|---|---|
committer | Gustavo Padovan <[email protected]> | 2013-01-10 06:22:51 -0200 |
commit | a7e80f25ae2296d78163d75d753c796270464000 (patch) | |
tree | edc8f5b83951d7e622f41b9f3c280f39bf2a58ea /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 13ecd8b6628c14c9a27832ce7c48315385272208 (diff) |
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 <[email protected]>
Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions