commit | bc1b1f8bee63966649dd5ac7d10d31a6556bf19b | [log] [tgz] |
---|---|---|
author | Gustavo F. Padovan <padovan@profusion.mobi> | Tue May 11 22:14:00 2010 -0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jul 21 10:39:04 2010 -0700 |
tree | 5560ff18797eefa7db245f64acaa813091504dcc | |
parent | 8ff50ec04a7ecdbba6e0a5423cf6f2c5f7fc605e [diff] |
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 <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>