mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-21 15:34:59 +00:00
trivial: update remaining use of ALLOW_ONLINE to UPDATABLE
This commit is contained in:
parent
d55d4f6de1
commit
c2ed0cb2bc
@ -813,7 +813,7 @@ fu_device_altos_init_real (FuDeviceAltos *device)
|
|||||||
|
|
||||||
/* allowed, but requires manual bootloader step */
|
/* allowed, but requires manual bootloader step */
|
||||||
fu_device_add_flag (FU_DEVICE (device),
|
fu_device_add_flag (FU_DEVICE (device),
|
||||||
FWUPD_DEVICE_FLAG_ALLOW_ONLINE);
|
FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||||
|
|
||||||
/* set default vendor */
|
/* set default vendor */
|
||||||
fu_device_set_vendor (FU_DEVICE (device), "altusmetrum.org");
|
fu_device_set_vendor (FU_DEVICE (device), "altusmetrum.org");
|
||||||
|
@ -350,13 +350,11 @@ gboolean
|
|||||||
fu_dell_toggle_flash (FuDevice *device, GError **error, gboolean enable)
|
fu_dell_toggle_flash (FuDevice *device, GError **error, gboolean enable)
|
||||||
{
|
{
|
||||||
guint32 dock_location;
|
guint32 dock_location;
|
||||||
FwupdDeviceFlags flags;
|
|
||||||
const gchar *tmp;
|
const gchar *tmp;
|
||||||
g_autoptr (FuDellSmiObj) smi_obj = NULL;
|
g_autoptr (FuDellSmiObj) smi_obj = NULL;
|
||||||
|
|
||||||
if (device) {
|
if (device) {
|
||||||
flags = fu_device_get_flags (device);
|
if (!fwupd_device_has_flag (device, FWUPD_DEVICE_FLAG_UPDATABLE))
|
||||||
if (!(flags & FWUPD_DEVICE_FLAG_ALLOW_ONLINE))
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
tmp = fu_device_get_plugin(device);
|
tmp = fu_device_get_plugin(device);
|
||||||
if (!((g_strcmp0 (tmp, "tbtfwu") == 0) ||
|
if (!((g_strcmp0 (tmp, "tbtfwu") == 0) ||
|
||||||
|
@ -615,7 +615,7 @@ fu_device_ebitdo_init_real (FuDeviceEbitdo *device)
|
|||||||
|
|
||||||
/* allowed, but requires manual bootloader step */
|
/* allowed, but requires manual bootloader step */
|
||||||
fu_device_add_flag (FU_DEVICE (device),
|
fu_device_add_flag (FU_DEVICE (device),
|
||||||
FWUPD_DEVICE_FLAG_ALLOW_ONLINE);
|
FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||||
|
|
||||||
/* set name and vendor */
|
/* set name and vendor */
|
||||||
name = g_strdup_printf ("%s Gamepad",
|
name = g_strdup_printf ("%s Gamepad",
|
||||||
|
Loading…
Reference in New Issue
Block a user