OSDN Git Service

Wait 5 milliseconds before doing Simple Pairing auto-accept
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 21 Aug 2009 02:50:58 +0000 (19:50 -0700)
committerNick Pelly <npelly@google.com>
Fri, 21 Aug 2009 15:10:06 +0000 (08:10 -0700)
commit01b7235a74f5551e21bd4ca3f4d8f28413845436
treea8979c69b8e5d8e938c292d8e6e9216258f76b9a
parent525e1f9cc5f75af5ac663559453b84ef7f422a90
Wait 5 milliseconds before doing Simple Pairing auto-accept

The BITE tester is again really stupid and it can't handle dongles
that can do the DH key exchange quickly. For example the Broadcom
dongles use a fast processors and an optimized DH algorithm. So in
the end they are way too fast.

To make this work, use a 5 milliseconds delay before replying to
the auto-accept case of Simple Pairing.
src/dbus-hci.c