]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix updating SMP remote key distribution information
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 14 Mar 2014 08:53:50 +0000 (10:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 14 Mar 2014 16:05:24 +0000 (09:05 -0700)
commit9161ce829ac73309d5e56399e96e1b4f16673302
tree85a9c2dca5a92f155ba27c1b284dba3d2581ce69
parent5c748fbe4b13afe86bda9959575921c28ded5eb3
Bluetooth: Fix updating SMP remote key distribution information

When performing pairing using SMP the remote may clear any key
distribution bits it wants in its pairing response. We must therefore
update our local variable accordingly, otherwise we might get stuck
waiting for keys that will never come.

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