Skip to content

Commit

Permalink
trivial: Set the Bluez-specified icon correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Hughes <richard@hughsie.com>
(cherry picked from commit 4580e75)
  • Loading branch information
d4s authored and hughsie committed May 16, 2024
1 parent 58fb377 commit cfac4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfwupdplugin/fu-bluez-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ fu_bluez_device_probe(FuDevice *device, GError **error)
fu_device_set_name(device, g_variant_get_string(val_name, NULL));
val_icon = g_dbus_proxy_get_cached_property(priv->proxy, "Icon");
if (val_icon != NULL)
fu_device_add_icon(device, g_variant_get_string(val_name, NULL));
fu_device_add_icon(device, g_variant_get_string(val_icon, NULL));
val_modalias = g_dbus_proxy_get_cached_property(priv->proxy, "Modalias");
if (val_modalias != NULL)
fu_bluez_device_set_modalias(self, g_variant_get_string(val_modalias, NULL));
Expand Down

0 comments on commit cfac4e1

Please sign in to comment.