aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-01-09 15:29:35 +0200
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-01-10 06:09:07 -0200
commit575b3a02e20a10bb8110378ef363a8a174018680 (patch)
tree677812b750e51e31090123be2320267d74582476 /tools/perf/scripts/python
parentBluetooth: Fix missing command complete for mgmt_load_long_term_keys (diff)
downloadlinux-575b3a02e20a10bb8110378ef363a8a174018680.tar.gz
linux-575b3a02e20a10bb8110378ef363a8a174018680.zip
Bluetooth: Fix checking for valid device class values
The two lowest bits of the minor device class value are reserved and should be zero, and the three highest bits of the major device class likewise. The management code should therefore test for this and return a proper "invalid params" error if the condition is not met. 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions