From: Johan Hedberg Date: Thu, 17 Jul 2014 12:35:38 +0000 (+0300) Subject: Bluetooth: Pass initiator/acceptor information to hci_conn_security() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7cafc45258c852c5176cd421615846e79a3d307;p=pandora-kernel.git Bluetooth: Pass initiator/acceptor information to hci_conn_security() We're interested in whether an authentication request is because of a remote or local action. So far hci_conn_security() has been used both for incoming and outgoing actions (e.g. RFCOMM or L2CAP connect requests) so without some modifications it cannot know which peer is responsible for requesting authentication. This patch adds a new "bool initiator" parameter to hci_conn_security() to indicate which side is responsible for the request and updates the current users to pass this information correspondingly. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed