commit | a67d7f6fca776317bb478c96f25196972c05d173 | [log] [tgz] |
---|---|---|
author | Mat Martineau <mathewm@codeaurora.org> | Thu May 17 20:53:35 2012 -0700 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Jun 05 06:34:02 2012 +0300 |
tree | b4e6f2f2304673775915c23e14646bee7fa1a987 | |
parent | 18a48e76640c590a14b0286c9da5fde6ac146cc2 [diff] |
Bluetooth: Refactor l2cap_send_sframe The new implementation uses struct l2cap_ctrl to set up the sframe fields, and also reduces duplicate acks by canceling the ack timer whenever an RR or RNR frame is sent. sframe PDU generation is also split in to a separate function to separate it from the logic related to the connection state and sframe type. Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>