]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix valid LE PSM check
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Dec 2013 05:08:53 +0000 (07:08 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Dec 2013 06:07:42 +0000 (22:07 -0800)
commit9534023a49250db2f669b5feb151e9435d9058d2
tree818815a71b8592aa5a4d9e863a6508130899b907
parent959c81d0372f65ce58ec864d4ef09d55b70270aa
Bluetooth: Fix valid LE PSM check

The range of valid LE PSMs is 0x0001-0x00ff so the check should be for
"less than or equal to" instead of "less than".

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c