]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Improve Three-wire UART configuration handling
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jul 2012 13:12:18 +0000 (16:12 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 17 Jul 2012 17:49:14 +0000 (14:49 -0300)
commit0e3724f43db79fd41753a2f7622d18d655bbd383
treebfa4863de5b695c8bae9257c33c688dd01b4c560
parente82f74bf4d3cb17804e51f19a6c1f4b7880ab942
Bluetooth: Improve Three-wire UART configuration handling

The configuration request/response messages contain a configuration
field which contains the sliding window size (amount of unacked reliable
packets that can be pending). This patch makes sure that we configure
the correct size (minimum of local and remote values) and use it when
determining whether to send new packets or not.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/hci_h5.c