modemloader: Use hw.revision instead of ro.revision

This change requires you to hexedit your cbd binary,
but in turn frees us from having to ignore ro.revision
in init.

Change-Id: I9c43fbbf5895888ea4bceff2a08a5ed8de77b921
tirimbino
Christopher N. Hesse 9 years ago
parent 02302a7eef
commit 90ced08026
  1. 2
      modemloader/modemloader.c

@ -89,7 +89,7 @@ int main(void)
parse_hardware_revision(&revision); parse_hardware_revision(&revision);
snprintf(ro_revision, PROP_VALUE_MAX, "%d", revision); snprintf(ro_revision, PROP_VALUE_MAX, "%d", revision);
property_set("ro.revision", ro_revision); property_set("hw.revision", ro_revision);
return 0; return 0;
} }

Loading…
Cancel
Save