]> 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)
commit4e09efe2fcc95e3a89cb029987e809fb89246638
treebfa4863de5b695c8bae9257c33c688dd01b4c560
parent9fdb79e6df003e092257dfc34c147955189ebe56
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