From fd25ce76a2db0f9b5381e9f78621d60a7d1011d2 Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Fri, 21 Feb 2014 12:33:14 +0100 Subject: [PATCH] android/tester: Fix Discovery Stop - Success test case This removes start discovery returned status check what derives double check of expected status. Returned status should be only checked for cancel discovery. --- android/android-tester.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/android-tester.c b/android/android-tester.c index 618efdebe..baa0115f4 100644 --- a/android/android-tester.c +++ b/android/android-tester.c @@ -2405,15 +2405,13 @@ static bool pre_inq_compl_hook(const void *dummy, uint16_t len, void *user_data) static void test_discovery_stop_success(const void *test_data) { struct test_data *data = tester_get_data(); - bt_status_t status; init_test_conditions(data); hciemu_add_hook(data->hciemu, HCIEMU_HOOK_PRE_EVT, BT_HCI_CMD_INQUIRY, pre_inq_compl_hook, data); - status = data->if_bluetooth->start_discovery(); - check_expected_status(status); + data->if_bluetooth->start_discovery(); } static void test_discovery_start_done(const void *test_data) -- 2.47.3