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

Commit 397a5362 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "USB Gadget v1.2: Remove redundant rndis gadget linking"

parents 220cd046 54af8f02
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -170,7 +170,6 @@ Status addGenericAndroidFunctions(MonitorFfs* monitorFfs, uint64_t functions, bo

    if ((functions & GadgetFunction::RNDIS) != 0) {
        ALOGI("setCurrentUsbFunctions rndis");
        if (linkFunction("gsi.rndis", (*functionCount)++)) return Status::ERROR;
        std::string rndisFunction = GetProperty(kVendorRndisConfig, "");
        if (rndisFunction != "") {
            if (linkFunction(rndisFunction.c_str(), (*functionCount)++)) return Status::ERROR;