Diff between 50004eaa046eaa614635aa9b28cd5845e098625c and b3995e95aa0e260cfc9d3d3f7076bb7635686ebf

Changed Files

File Additions Deletions Status
android/tester-main.c +3 -0 modified

Full Patch

diff --git a/android/tester-main.c b/android/tester-main.c
index a804f11..fc1de06 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -212,6 +212,9 @@ static void test_post_teardown(const void *test_data)
 {
 	struct test_data *data = tester_get_data();
 
+	/* remove hook for encryption change */
+	hciemu_del_hook(data->hciemu, HCIEMU_HOOK_POST_EVT, 0x08);
+
 	hciemu_unref(data->hciemu);
 	data->hciemu = NULL;