commit | 0bd23324929cfa46e9ec8cdd9dfa0b1497112757 | [log] [tgz] |
---|---|---|
author | Nucca Chen <nuccachen@google.com> | Wed Mar 17 15:13:41 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Mar 17 15:13:41 2021 +0000 |
tree | 4426d70b9508ccb473cac47a0b8ef79489131aa9 | |
parent | c1b306c3842089200e5619aec3d1b20402722605 [diff] | |
parent | d993e3db70bd450045b4936ff701aa97657a2952 [diff] |
Merge "Fix the HAL uninitialized error message for setLocalPrefixes" am: 805caa7e07 am: 99f4195834 am: 78e3dd0f16 am: d993e3db70 Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/sdm845/data/ipacfg-mgr/+/1505172 Change-Id: I9b75c17d05a141f5c5b5cb24343fa9f07e3a4196
diff --git a/hal/src/HAL.cpp b/hal/src/HAL.cpp index d72d274..e019c74 100644 --- a/hal/src/HAL.cpp +++ b/hal/src/HAL.cpp
@@ -410,7 +410,7 @@ memset(&res,0,sizeof(BoolResult)); if (!isInitialized()) { - BoolResult res = makeInputCheckFailure("Not initialized"); + res = makeInputCheckFailure("Not initialized"); } else if(prefixesStr.size() < 1) { res = ipaResultToBoolResult(RET::FAIL_INPUT_CHECK); } else if (!parser.add(prefixesStr)) {