diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-07-14 05:42:12 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-24 15:44:25 -0400 |
commit | 98bcd08b5bfe78c1c9bda5768aa081e0fe4fcc4f (patch) | |
tree | 171c7984eeaade72d57a325ee26d55e4408bbdd1 /drivers/bluetooth/hci_usb.c | |
parent | 2266d8886f64c66e0a4e61e3e1c19dbc27ed00d4 (diff) |
[Bluetooth] Correct RFCOMM channel MTU for broken implementations
Some Bluetooth RFCOMM implementations try to negotiate a bigger channel
MTU than we can support for a particular session. The maximum MTU for
a RFCOMM session is limited through the L2CAP layer. So if the other
side proposes a channel MTU that is bigger than the underlying L2CAP
MTU, we should reduce it to the L2CAP MTU of the session minus five
bytes for the RFCOMM headers.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_usb.c')
0 files changed, 0 insertions, 0 deletions