From: Gustavo F. Padovan Date: Wed, 12 May 2010 01:14:00 +0000 (-0300) Subject: Bluetooth: Only check SAR bits if frame is an I-frame X-Git-Tag: v2.6.36-rc1~571^2~64^2~48^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc1b1f8bee63966649dd5ac7d10d31a6556bf19b;p=pandora-kernel.git Bluetooth: Only check SAR bits if frame is an I-frame The SAR bits doesn't make sense for an S-frame. It doesn't use SAR. Checking SAR for a S-frames can lead to L2CAP errors, it could close the channel with an invalid packet length, since we was removing the 2 of the of any frame that match SAR start bits, without check if it is an I-frame. Signed-off-by: Gustavo F. Padovan Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed