From: Johan Hedberg Date: Wed, 16 Oct 2013 08:20:47 +0000 (+0300) Subject: Bluetooth: Fix L2CAP "Command Reject: Invalid CID" response X-Git-Tag: v3.13-rc1~105^2~23^2^2~4^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662d652dd60edbb45acab772baedaf39a2f22ffc;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed