diff options
| author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-05-01 15:15:40 -0400 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2010-05-10 03:28:48 -0400 |
| commit | 1c7621596d11b9c3e19eb88a818758dee4901c95 (patch) | |
| tree | 7eccf73c1739964e83cbc7ea5bce53fd4372a07c /include | |
| parent | 7b1c0049be3aabc18831ada339dbcf41ba8c81fd (diff) | |
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')
| -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 { | |||
| 343 | __u8 remote_max_tx; | 343 | __u8 remote_max_tx; |
| 344 | __u16 retrans_timeout; | 344 | __u16 retrans_timeout; |
| 345 | __u16 monitor_timeout; | 345 | __u16 monitor_timeout; |
| 346 | __u16 max_pdu_size; | 346 | __u16 remote_mps; |
| 347 | __u16 mps; | ||
| 347 | 348 | ||
| 348 | __le16 sport; | 349 | __le16 sport; |
| 349 | 350 | ||
