diff --git a/test/gap/hci_test.cpp b/test/gap/hci_test.cpp index c8c039912..603cd9b06 100644 --- a/test/gap/hci_test.cpp +++ b/test/gap/hci_test.cpp @@ -156,7 +156,7 @@ TEST(HCI, gap_whitelist_add_remove){ CHECK_EQUAL(ERROR_CODE_SUCCESS, status); status = gap_whitelist_remove(addr_type, addr); - CHECK_EQUAL(ERROR_CODE_SUCCESS, status); + CHECK_EQUAL(ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER, status); status = gap_whitelist_remove(BD_ADDR_TYPE_SCO, addr); CHECK_EQUAL(ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER, status);