From: Johan Hedberg Date: Mon, 24 Mar 2014 12:39:07 +0000 (+0200) Subject: Bluetooth: Don't try to confirm locally initiated SMP pairing X-Git-Tag: v3.15-rc1~113^2~18^2^2~41^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a82505c7bcbc1f8cce28d092aba01f62c7b85fa3;p=pandora-kernel.git Bluetooth: Don't try to confirm locally initiated SMP pairing In the case that the just-works model would be triggered we only want to confirm remotely initiated pairings (i.e. those triggered by a Security Request or Pairing Request). This patch adds the necessary check to the tk_request function to fall back to the JUST_WORKS method in the case of a locally initiated pairing. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed