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

Commit 68fec9a7 authored by Sean McNeil's avatar Sean McNeil Committed by Jean-Baptiste Queru
Browse files

Use complete hardware name without spaces.

Many targets use generic first portions like 'OMAP'

Change-Id: I00ba4e64cffc48353c29e409c3c19238024fbd8c
parent bedaac52
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -657,7 +657,8 @@ static void get_hardware_name(void)
        if (x) {
            x += 2;
            n = 0;
            while (*x && !isspace(*x)) {
            while (*x && *x != '\n') {
                if (!isspace(*x))
                    hardware[n++] = tolower(*x);
                x++;
                if (n == 31) break;