mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 23:19:50 +00:00
trivial: dell: add missing icon for TPM devices
This commit is contained in:
parent
fa2d5f60e4
commit
26767845f1
@ -732,6 +732,7 @@ fu_plugin_dell_detect_tpm (FuPlugin *plugin, GError **error)
|
||||
fu_device_set_version (dev, version_str);
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_INTERNAL);
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_REQUIRE_AC);
|
||||
fu_device_add_icon (dev, "computer");
|
||||
if (out->flashes_left > 0) {
|
||||
if (fu_plugin_dell_capsule_supported (plugin)) {
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
@ -752,6 +753,7 @@ fu_plugin_dell_detect_tpm (FuPlugin *plugin, GError **error)
|
||||
fu_device_add_flag (dev_alt, FWUPD_DEVICE_FLAG_INTERNAL);
|
||||
fu_device_add_flag (dev_alt, FWUPD_DEVICE_FLAG_REQUIRE_AC);
|
||||
fu_device_add_flag (dev_alt, FWUPD_DEVICE_FLAG_LOCKED);
|
||||
fu_device_add_icon (dev_alt, "computer");
|
||||
fu_device_set_alternate (dev_alt, dev);
|
||||
|
||||
/* If TPM is not owned and at least 1 flash left allow mode switching
|
||||
|
Loading…
Reference in New Issue
Block a user