Bluetooth: Initialize new l2cap_chan structure members
authorMat Martineau <mathewm@codeaurora.org>
Fri, 27 Apr 2012 23:50:48 +0000 (16:50 -0700)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:48 +0000 (01:40 -0300)
commit105bdf9ec19e729bacdb33861c74fcf3eb39eb37
treed53fb1c5ce92b82b323bbf2b6ce2ebd880ff8a21
parentb5c6aaed183d6300b2cc5a107e5798aef427e5d9
Bluetooth: Initialize new l2cap_chan structure members

Structure members used by ERTM or streaming mode need to be
initialized when an ERTM or streaming mode link is configured.  Some
duplicate code is also eliminated by moving in to the ERTM init
function.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/l2cap_core.c