commit | bfc0c35387a162ef19555a459355aedc6911c035 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue Jan 17 13:26:50 2017 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Wed Jan 18 17:03:34 2017 +0000 |
tree | ce827ddab6bf1a928f349d8fde688ec4764f9fad | |
parent | e74a91ce5a682a23ccda3b3a3ba68ac6ed70ae86 [diff] |
Bluetooth: L2CAP: Fix always using RX_BUF_COUNT as initial credits In case the channel provides its own MTU and allocator it should be able to store as much data as set in the MTU, based on that the code can give enough credits to fill the entire channel MTU. Change-Id: I291cf1bb643f200bde191914e814f681f4f65c3e Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>