From: Mat Martineau Date: Thu, 5 Aug 2010 22:54:22 +0000 (-0700) Subject: Bluetooth: Fix endianness issue with L2CAP MPS configuration X-Git-Tag: v2.6.36-rc1~43^2~9^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b1b26326279299c93ddb11ab4782d3896bf84c;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed