For unknown devices, set the event's device name to the name of the
device returned in the ACPI message rather than a hard-coded 'unknown'. SVN revision: 48930
This commit is contained in:
parent
3c8d951719
commit
08fde98a06
|
@ -177,7 +177,7 @@ _e_acpi_cb_server_data(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
else
|
||||
{
|
||||
acpi_event->device = eina_stringshare_add("unknown");
|
||||
acpi_event->device = eina_stringshare_add(device);
|
||||
acpi_event->type = E_ACPI_TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue