diff --git a/android/android-tester.c b/android/android-tester.c
index 623e57e..3fbcb2f 100644
--- a/android/android-tester.c
+++ b/android/android-tester.c
check_expected_status(status);
}
-static bool pre_inq_compl_hook(const void *data, uint16_t len, void *user_data)
+static bool pre_inq_compl_hook(const void *dummy, uint16_t len, void *user_data)
{
+ struct test_data *data = tester_get_data();
+
/* Make sure Inquiry Command Complete is not called */
+
+ hciemu_del_hook(data->hciemu, HCIEMU_HOOK_PRE_EVT, BT_HCI_CMD_INQUIRY);
+
return false;
}