[Bluetooth] Reduce L2CAP MTU for RFCOMM connections
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 13 Feb 2006 10:39:57 +0000 (11:39 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 13 Feb 2006 10:39:57 +0000 (11:39 +0100)
commit56f3a40a5e7586043260669cc794e56fa58339e1
treea2a756d86f8ff9da8d5668d2dfbf51f5107c53ce
parente9bb4c9929a63b23dcc637fae312b36b038bdc61
[Bluetooth] Reduce L2CAP MTU for RFCOMM connections

This patch reduces the default L2CAP MTU for all RFCOMM connections
from 1024 to 1013 to improve the interoperability with some broken
RFCOMM implementations. To make this more flexible the L2CAP MTU
becomes also a module parameter and so it can changed at runtime.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/rfcomm.h
net/bluetooth/rfcomm/core.c