From: Johan Hedberg Date: Thu, 17 Jul 2014 12:14:50 +0000 (+0300) Subject: Bluetooth: Fix resetting remote authentication requirement after pairing X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~17^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1d4fa7aa86e9194724dfff9cb9359edb98d75ac;p=pandora-kernel.git Bluetooth: Fix resetting remote authentication requirement after pairing When a new hci_conn object is created the remote SSP authentication requirement is set to the invalid value 0xff to indicate that it is unknown. Once pairing completes however the code was leaving it as-is. In case a new pairing happens over the same connection it is important that we reset the value back to unknown so that the pairing code doesn't make false assumptions about the requirements. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed