]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Add clarifying comment to l2cap_conn_ready()
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 29 Apr 2013 16:35:39 +0000 (19:35 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 29 May 2013 21:43:37 +0000 (18:43 -0300)
commit8f2097fc221f8c2b69ef5a9589e257b9c940107d
treee9bfb526213c402062c61923a7a49f227635f23d
parentd522277cf8ca3c1d2ec7cff0668ff56c4732bac2
Bluetooth: Add clarifying comment to l2cap_conn_ready()

There is an extra call to smp_conn_security() for outgoing LE
connections from l2cap_conn_ready() but the reason for this call is far
from clear. After a bit of commit history research and using git blame I
found out that this extra call is for socket-less pairing processes
added by commit 160dc6ac1. This patch adds a clarifying comment to the
code for this.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c