trivial: update remaining use of ALLOW_ONLINE to UPDATABLE

This commit is contained in:
Mario Limonciello 2017-08-31 12:59:26 -05:00
parent d55d4f6de1
commit c2ed0cb2bc
3 changed files with 3 additions and 5 deletions

View File

@ -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");

View File

@ -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) ||

View File

@ -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",