Bluetooth: Initialize the transmit queue for L2CAP streaming mode
authorMat Martineau <mathewm@codeaurora.org>
Mon, 14 May 2012 21:49:27 +0000 (14:49 -0700)
committerGustavo Padovan <gustavo@padovan.org>
Tue, 15 May 2012 23:28:16 +0000 (20:28 -0300)
commitd34c34fb2592bd5231a153ad1676c3ded175410a
tree95ebddd3134b9003335932b6c55622890affe436
parent577cfaeb864874011386a05ab4f5580a6a2aeb11
Bluetooth: Initialize the transmit queue for L2CAP streaming mode

Commit 105bdf9ec19e729bacdb33861c74fcf3eb39eb37 introduced a
regression in L2CAP streaming mode due to rearranged initialization
code that is shared between ERTM and streaming mode.  This change
makes sure the transmit queue is initialized in both modes.

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