OSDN Git Service

tools/mgmt-tester: Fix Remove Device tests for LE
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Nov 2015 08:52:15 +0000 (10:52 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Nov 2015 08:54:01 +0000 (10:54 +0200)
commita2023bf5f899ca968d28be706ff040b95e3c19f7
tree5071db25c75fe2217d0ef50d7fac2c0a89fb29f9
parent54d719401b25ea4ac0624ce5f61053dafb774bd4
tools/mgmt-tester: Fix Remove Device tests for LE

The timing of Add/Remove device is different in recent kernels so that
if they are sent in rapid succession no HCI command will be sent at
all. Since the relevant thing is that LE scan is disabled after the
test add a timeout to verify this instead of waiting for a specific
HCI command.
tools/mgmt-tester.c