commit | 662d652dd60edbb45acab772baedaf39a2f22ffc | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Oct 16 11:20:47 2013 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Oct 16 01:22:55 2013 -0700 |
tree | 7c94da98fdfad1e09e6506b2e2d02bfe2c585c2e | |
parent | db3aebf4a13562c60761e5530f2cbf6ef9fdee2b [diff] |
Bluetooth: Fix L2CAP "Command Reject: Invalid CID" response When the reason code in the L2CAP command reject is "invalid CID" there should be four additional bytes of data in the PDU, namely the source and destination CIDs (which should be zero if one or both are not applicable). This patch fixes all occurrences of such errors to return the right kind of PDU. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>