]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Expire RPA if encryption fails
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Sep 2014 05:16:35 +0000 (22:16 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Sep 2014 05:32:14 +0000 (07:32 +0200)
commitc45d2a5c1b0da6597eeaa298bb22952fb834c20d
treef4668edced6d8cee6b047834e48aa815dc65e552
parent4fb5c575e45f853deae212f92cd0a71ee5486683
Bluetooth: Expire RPA if encryption fails

If encryption fails and we're using an RPA it may be because of a
conflict with another device. To avoid repeated failures the safest
action is to simply mark the RPA as expired so that a new one gets
generated as soon as the connection drops.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c