commit | 51893f88dd916efead5e24a212c907b2cd35e160 | [log] [tgz] |
---|---|---|
author | Nathan Holstein <nathan@lampreynetworks.com> | Wed Jun 09 15:46:25 2010 -0400 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jul 21 10:39:05 2010 -0700 |
tree | f28f257c32227f6a60f3fc347ba8b5d765db80c0 | |
parent | bfbacc11550a785caf082f3ccfcd7ecf882e09a4 [diff] |
Bluetooth: Fix bug with ERTM minimum packet length ERTM and streaming mode L2CAP sockets have no minimum packet length. Only basic mode connections have minimum length. Instead, validate the packet containing all necessary control, FCS, and SAR fields. The patch fixes the drop of valid packets with length lower than 4. Signed-off-by: Nathan Holstein <ngh@isomerica.net> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>