Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51c7bd47 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

Wifi: Remove premature 'return'

We want to fill in more fields in our conversion method, so we
let the logic proceed to all of them.

Test: TreeHugger
Bug: 203220137
Change-Id: Ia7a9c978ec778eebd17b9ce74f43cc320e92b971
parent 425df504
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;