From: Johan Hedberg Date: Mon, 11 Aug 2014 19:06:36 +0000 (+0300) Subject: Bluetooth: Use L2CAP resume callback to call smp_distribute_keys X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~84^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f1a7ab51ebe1ca189445837e0599a5edc6efb1;p=pandora-kernel.git Bluetooth: Use L2CAP resume callback to call smp_distribute_keys There's no need to export the smp_distribute_keys() function since the resume callback is called in the same scenario. This patch makes the smp_notify_keys function private (at the same time moving it higher up in smp.c to avoid forward declarations) and adds a resume callback for SMP to call it from there instead. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed