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>
This commit is contained in:
committed by
Marcel Holtmann
parent
7b1c0049be
commit
1c7621596d
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user