selftests: nci: Extract the start/stop discovery function
authorBongsu Jeon <bongsu.jeon@samsung.com>
Tue, 17 Aug 2021 13:28:17 +0000 (06:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2021 09:17:57 +0000 (10:17 +0100)
commit72696bd8a09d6dc46196b23cf42562ee7e169ebc
tree2368ae84e48f3ce25c783abd63e49b70b41109ff
parent6ebbc9680a33e5e073b04d8a1f486bd9e1809515
selftests: nci: Extract the start/stop discovery function

To reuse the start/stop discovery code in other testcase, extract the code.

Signed-off-by: Bongsu Jeon <bongsu.jeon@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/nci/nci_dev.c