From: Johan Hedberg Date: Thu, 7 Aug 2014 19:56:45 +0000 (+0300) Subject: Bluetooth: Remove special handling of ATT in l2cap_security_cfm() X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~84^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=191eb398c677444bc08cb4497467ca9e2b8696bc;p=pandora-kernel.git Bluetooth: Remove special handling of ATT in l2cap_security_cfm() With the update to sk->resume() and __l2cap_no_conn_pending() we no-longer need to have special handling of ATT channels in the l2cap_security_cfm() function. The chan->sec_level update when encryption has been enabled is safe to do for any kind of channel, and the loop takes later care of calling chan->ready() or chan->resume() if necessary. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed