From: Johan Hedberg Date: Mon, 16 Sep 2013 10:05:18 +0000 (+0300) Subject: Bluetooth: Fix responding to invalid L2CAP signaling commands X-Git-Tag: v3.13-rc1~105^2~225^2~24^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c4e4e8b4ca8440e5cbb66219a179e73f7b9e9a;p=pandora-kernel.git Bluetooth: Fix responding to invalid L2CAP signaling commands When we have an LE link we should not respond to any data on the BR/EDR L2CAP signaling channel (0x0001) and vice-versa when we have a BR/EDR link we should not respond to LE L2CAP (CID 0x0005) signaling commands. This patch fixes this issue by checking for a valid link type and ignores data if it is wrong. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed