Merge "Check correct err variable on wifi keystore HAL" am: 81f35573c7 am: 523a912137
am: 7b54866cf2
Change-Id: I8a9651bd4d0a64703f0b7707d4b2f5e06e0737f0
diff --git a/keystore/keystore_main.cpp b/keystore/keystore_main.cpp
index f1b37c0..ef68d92 100644
--- a/keystore/keystore_main.cpp
+++ b/keystore/keystore_main.cpp
@@ -168,7 +168,7 @@
configureRpcThreadpool(1, false /* callerWillJoin */);
android::sp<IKeystore> wifiKeystoreHalService = new Keystore();
android::status_t err = wifiKeystoreHalService->registerAsService();
- CHECK(ret == android::OK) << "Cannot register wifi keystore HAL service: " << err;
+ CHECK(err == android::OK) << "Cannot register wifi keystore HAL service: " << err;
/*
* This thread is just going to process Binder transactions.