]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Only enable L2CAP FCS for ERTM or streaming
authorMat Martineau <mathewm@codeaurora.org>
Tue, 24 Aug 2010 22:35:42 +0000 (15:35 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 30 Sep 2010 15:19:35 +0000 (12:19 -0300)
commit3cda84322bca28323fc17396355b205108936607
treec7cac6b995af6126abf5ee18ba6121a4ee78436e
parent8258f8052bff5ae0035509193ca8bb7295e2206c
Bluetooth: Only enable L2CAP FCS for ERTM or streaming

This fixes a bug which caused the FCS setting to show L2CAP_FCS_CRC16
with L2CAP modes other than ERTM or streaming.  At present, this only
affects the FCS value shown with getsockopt() for basic mode.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap.c