]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa9a22252ea1f0a5128bf00a0deb563250f311f6
treed53fb1c5ce92b82b323bbf2b6ce2ebd880ff8a21
parenta162c933ac5b787f4a04f9d47ea9bcb956543ead
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