dmi_matched now return a non null result which means that we stop on the FIRST fully
matched entry of omnibook_ids[] which means that we MUST store records in that list from
the MORE specific to the LEAST specific.
As M40X is now before M40 this sould works.
And that was the behaviour of the old (pre fork) DMI matching system and
thus the intended one as the list order was not modified.
laptop_model = (char*) dmi->ident;
else
laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
- return 0;
+ return 1; /* return non zero means we stop the parsing selecting this entry*/
}
/*