summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-12-06 06:08:53 +0100
committerMarcel Holtmann <marcel@holtmann.org>2013-12-06 07:07:42 +0100
commitc8afe8d0ad796b6dae545ceeed652b2c52ca7cf6 (patch)
tree818815a71b8592aa5a4d9e863a6508130899b907 /net/bluetooth/l2cap_sock.c
parentBluetooth: Use min_t for calculating chan->mps (diff)
downloadlinux-c8afe8d0ad796b6dae545ceeed652b2c52ca7cf6.tar.xz
linux-c8afe8d0ad796b6dae545ceeed652b2c52ca7cf6.zip
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>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions