From: Johan Hedberg Date: Tue, 17 Jun 2014 10:07:39 +0000 (+0300) Subject: Bluetooth: Fix rejecting pairing in case of insufficient capabilities X-Git-Tag: omap-for-v3.17/fixes-against-rc2~215^2~11^2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed8f65ca262bca778e60053f667ce11b32db6b8;p=pandora-kernel.git Bluetooth: Fix rejecting pairing in case of insufficient capabilities If we need an MITM protected connection but the local and remote IO capabilities cannot provide it we should reject the pairing attempt in the appropriate way. This patch adds the missing checks for such a situation to the smp_cmd_pairing_req() and smp_cmd_pairing_rsp() functions. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed