mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-21 09:01:30 +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 */
|
||||
fu_device_add_flag (FU_DEVICE (device),
|
||||
FWUPD_DEVICE_FLAG_ALLOW_ONLINE);
|
||||
FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
|
||||
/* set default vendor */
|
||||
fu_device_set_vendor (FU_DEVICE (device), "altusmetrum.org");
|
||||
|
@ -350,13 +350,11 @@ gboolean
|
||||
fu_dell_toggle_flash (FuDevice *device, GError **error, gboolean enable)
|
||||
{
|
||||
guint32 dock_location;
|
||||
FwupdDeviceFlags flags;
|
||||
const gchar *tmp;
|
||||
g_autoptr (FuDellSmiObj) smi_obj = NULL;
|
||||
|
||||
if (device) {
|
||||
flags = fu_device_get_flags (device);
|
||||
if (!(flags & FWUPD_DEVICE_FLAG_ALLOW_ONLINE))
|
||||
if (!fwupd_device_has_flag (device, FWUPD_DEVICE_FLAG_UPDATABLE))
|
||||
return TRUE;
|
||||
tmp = fu_device_get_plugin(device);
|
||||
if (!((g_strcmp0 (tmp, "tbtfwu") == 0) ||
|
||||
|
@ -615,7 +615,7 @@ fu_device_ebitdo_init_real (FuDeviceEbitdo *device)
|
||||
|
||||
/* allowed, but requires manual bootloader step */
|
||||
fu_device_add_flag (FU_DEVICE (device),
|
||||
FWUPD_DEVICE_FLAG_ALLOW_ONLINE);
|
||||
FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
|
||||
/* set name and vendor */
|
||||
name = g_strdup_printf ("%s Gamepad",
|
||||
|
Loading…
Reference in New Issue
Block a user