From: Johan Hedberg Date: Mon, 24 Mar 2014 12:39:05 +0000 (+0200) Subject: Bluetooth: Fix SMP confirmation callback handling X-Git-Tag: v3.15-rc1~113^2~18^2^2~41^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eb65e667ba7070e4798448f5ab8dbbaa4505db0;p=pandora-kernel.git Bluetooth: Fix SMP confirmation callback handling In the case that a local pairing confirmation (JUST_CFM) has been selected as the method we need to use the user confirm request mgmt event for it with the confirm_hint set to 1 (to indicate confirmation without any specific passkey value). Without this (if passkey_notify was used) the pairing would never proceed. This patch adds the necessary call to mgmt_user_confirm_request in this scenario. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed