summaryrefslogtreecommitdiff
path: root/wifi/1.6/default/hidl_struct_util.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2022-01-27 06:46:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-01-27 06:46:25 +0000
commit1aab61da7bc00e259e20ef4d7b39dbcc9d816a86 (patch)
tree0d0f231a5a9fcfe9fbd3760ea028dbd13f6c16f8 /wifi/1.6/default/hidl_struct_util.cpp
parent4eaebc9395e03d8183528106eae3c087e6abd7f4 (diff)
parent51c7bd47abeb3f24ad53342a9609a8f263d04ded (diff)
Merge "Wifi: Remove premature 'return'"
Diffstat (limited to 'wifi/1.6/default/hidl_struct_util.cpp')
-rw-r--r--wifi/1.6/default/hidl_struct_util.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/wifi/1.6/default/hidl_struct_util.cpp b/wifi/1.6/default/hidl_struct_util.cpp
index 76341ffd7e..71f98b9ef5 100644
--- a/wifi/1.6/default/hidl_struct_util.cpp
+++ b/wifi/1.6/default/hidl_struct_util.cpp
@@ -1420,8 +1420,6 @@ bool convertHidlNanConfigRequest_1_6ToLegacy(const V1_4::NanConfigRequest& hidl_
legacy_request->config_enable_ranging = 1;
legacy_request->enable_ranging = hidl_request2.V1_5.V1_2.enableRanging;
- return true;
-
legacy_request->config_enable_instant_mode = 1;
legacy_request->enable_instant_mode = hidl_request2.V1_5.enableInstantCommunicationMode;
legacy_request->config_instant_mode_channel = 1;