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

Commit 4f021538 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Add missing 'else' to fix all devices showing up as "host"."

parents 9616e829 3ce9575a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -436,10 +436,11 @@ void parse_banner(const char* banner, atransport* t) {
        D("setting connection_state to CS_SIDELOAD\n");
        t->connection_state = CS_SIDELOAD;
        update_transports();
    }

    } else {
        D("setting connection_state to CS_HOST\n");
        t->connection_state = CS_HOST;
    }
}

void handle_packet(apacket *p, atransport *t)
{