]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update tx_send_head when sending ERTM data
authorMat Martineau <mathewm@codeaurora.org>
Mon, 14 May 2012 18:24:33 +0000 (11:24 -0700)
committerGustavo Padovan <gustavo@padovan.org>
Mon, 14 May 2012 19:32:11 +0000 (16:32 -0300)
commit2a72d5c7616749c32d9e41911a0ecee4943767f3
tree8b1c3b8f751c4f8cf0066890d587c518a11f05c2
parentbf504d7c695749ad08c04d6c8401e80c43df439c
Bluetooth: Update tx_send_head when sending ERTM data

Commit 0a86a97fad21b10f83a77302d97fd24ca1a45ee7 introduced a problem
where tx_send_head was not set to point to the first skb in the ERTM
transmit queue, which stalled data transmission.  This change sets
that pointer when transmission is not already in progress.

Reported-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/l2cap_core.c