summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMat Martineau <mathewm@codeaurora.org>2010-08-05 22:54:22 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2010-08-10 11:59:09 (GMT)
commit86b1b26326279299c93ddb11ab4782d3896bf84c (patch)
tree0c3834245d1fec2fc843b6b81f3d02e437f67705 /kernel
parentc4e9b56e24422e71424b24eee27c2b134a191d7b (diff)
downloadlinux-86b1b26326279299c93ddb11ab4782d3896bf84c.tar.xz
Bluetooth: Fix endianness issue with L2CAP MPS configuration
Incoming configuration values must be converted to native CPU order before use. This fixes a bug where a little-endian MPS value is compared to a native CPU value. On big-endian processors, this can cause ERTM and streaming mode segmentation to produce PDUs that are larger than the remote stack is expecting, or that would produce fragmented skbs that the current FCS code cannot handle. Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions