OSDN Git Service

tools/mgmt-tester: Refactor setup_start_discovery function
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Thu, 20 Mar 2014 12:59:29 +0000 (13:59 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Mar 2014 13:05:15 +0000 (15:05 +0200)
commite2741eedc38597649f64218761042b6c5a133ca0
tree36123410324eb9c4fd8ffeb63beb9d7aa3bd62dc
parent630e812572488beb90450090e81c5db70653c11a
tools/mgmt-tester: Refactor setup_start_discovery function

This patch removes handling hook register from this
function and its callback as this is no longer necessary for any stop
discovery tests.

This patch also adds setup_send_param and setup_send_len  parameters to
test data so it is easy to control start discovery command parameters.
It is useful for tests:
Stop Discovery - Invalid parameters 1
Stop Discovery - BR/EDR (Inquiry) Success 1
tools/mgmt-tester.c