From: Johan Hedberg Date: Tue, 10 Jun 2014 12:19:50 +0000 (+0300) Subject: Bluetooth: Fix setting correct authentication information for SMP STK X-Git-Tag: omap-for-v3.16/fixes-rc4~53^2~21^2^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fff3490f47810e2d34b91fb9e31103e923b11c2f;p=pandora-kernel.git Bluetooth: Fix setting correct authentication information for SMP STK When we store the STK in slave role we should set the correct authentication information for it. If the pairing is producing a HIGH security level the STK is considered authenticated, and otherwise it's considered unauthenticated. This patch fixes the value passed to the hci_add_ltk() function when adding the STK on the slave side. Signed-off-by: Johan Hedberg Tested-by: Marcin Kraglak Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org --- Reading git-diff-tree failed