From: Waldemar Rymarkiewicz Date: Thu, 2 Jun 2011 12:24:52 +0000 (+0200) Subject: Bluetooth: Simplify hci_conn_accept_secure check X-Git-Tag: v3.1-rc1~316^2~350^2^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4177e2bf92543e422fae154888062376e2283d;p=pandora-kernel.git Bluetooth: Simplify hci_conn_accept_secure check If the link key is secure (authenticated or combination 16 digit) the sec_level will be always BT_SECURITY_HIGH. Therefore, instead of checking the link key type simply check the sec_level on the link. Signed-off-by: Waldemar Rymarkiewicz Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed