aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_usb.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-14 05:42:12 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-24 15:44:25 -0400
commit98bcd08b5bfe78c1c9bda5768aa081e0fe4fcc4f (patch)
tree171c7984eeaade72d57a325ee26d55e4408bbdd1 /drivers/bluetooth/hci_usb.c
parent2266d8886f64c66e0a4e61e3e1c19dbc27ed00d4 (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