diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-05-01 16:15:40 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-05-10 09:28:48 +0200 |
commit | 1c7621596d11b9c3e19eb88a818758dee4901c95 (patch) | |
tree | 7eccf73c1739964e83cbc7ea5bce53fd4372a07c /include/net/bluetooth | |
parent | 7b1c0049be3aabc18831ada339dbcf41ba8c81fd (diff) | |
download | kernel-common-1c7621596d11b9c3e19eb88a818758dee4901c95.tar.gz kernel-common-1c7621596d11b9c3e19eb88a818758dee4901c95.tar.bz2 kernel-common-1c7621596d11b9c3e19eb88a818758dee4901c95.zip |
Bluetooth: Fix configuration of the MPS value
We were accepting values bigger than we can accept. This was leading
ERTM to drop packets because of wrong FCS checks.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 48f10f46c73d..0f4e4234c5fa 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -343,7 +343,8 @@ struct l2cap_pinfo { __u8 remote_max_tx; __u16 retrans_timeout; __u16 monitor_timeout; - __u16 max_pdu_size; + __u16 remote_mps; + __u16 mps; __le16 sport; |