From: Johan Hedberg Date: Mon, 14 Oct 2013 18:17:53 +0000 (+0300) Subject: Bluetooth: Check that bind() bdaddr type matches connect() X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f209383f2be94e15e179da3a4cbcfeabcc2efc2;p=pandora-kernel.git Bluetooth: Check that bind() bdaddr type matches connect() If a socket was bound to an address type other than BR/EDR (such as LE) we should reject trying to connect it to a BR/EDR address. The same applies for binding to BR/EDR and trying to connect to non-BR/EDR. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed