Use complete hardware name without spaces.
Many targets use generic first portions like 'OMAP' Change-Id: I00ba4e64cffc48353c29e409c3c19238024fbd8c
This commit is contained in:
parent
bedaac52a6
commit
68fec9a751
|
@ -657,8 +657,9 @@ static void get_hardware_name(void)
|
|||
if (x) {
|
||||
x += 2;
|
||||
n = 0;
|
||||
while (*x && !isspace(*x)) {
|
||||
hardware[n++] = tolower(*x);
|
||||
while (*x && *x != '\n') {
|
||||
if (!isspace(*x))
|
||||
hardware[n++] = tolower(*x);
|
||||
x++;
|
||||
if (n == 31) break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue