From: Johan Hedberg Date: Tue, 14 May 2013 10:25:37 +0000 (+0300) Subject: Bluetooth: Allow l2cap_chan_check_security() to be used for LE links. X-Git-Tag: v3.14-rc1~94^2~482^2^2~9^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a17de2fe02b1853f115a841bf707f6a75bc6da22;p=pandora-kernel.git Bluetooth: Allow l2cap_chan_check_security() to be used for LE links. With connection oriented L2CAP channels some code paths will be shared with BR/EDR links. It is therefore necessary to allow the l2cap_chan_check_security function to be usable also for LE links in addition to BR/EDR ones. This means that smp_conn_security() needs to be called instead of hci_conn_security() in the case of an LE link. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed