commit | a5c3021bb62b970713550db3f7fd08aa70665d7e | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue Sep 04 13:39:22 2018 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Sep 27 12:52:08 2018 +0200 |
tree | 812fde45f8a4a5892a1982f80474eafe5a56a2a4 | |
parent | 96cd8eaa131f0ffd4cfae09e1b4bdfafb9570907 [diff] |
Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS If the remote is not able to fully utilize the MPS choosen recalculate the credits based on the actual amount it is sending that way it can still send packets of MTU size without credits dropping to 0. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>