-
Johan Hedberg authored
commit fff3490f upstream. 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 <johan.hedberg@intel.com> Tested-by:
Marcin Kraglak <marcin.kraglak@tieto.com> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org> [ kamal: backport to 3.13-stable: context ] Signed-off-by:
Kamal Mostafa <kamal@canonical.com>
36fd71b7