Skip to content

Commit

Permalink
pixart-rf: Use the correct install flag to ignore the model check
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsie committed May 22, 2024
1 parent d347069 commit 3242dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pixart-rf/fu-pxi-ble-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ fu_pxi_ble_device_prepare_firmware(FuDevice *device,

/* check is compatible with hardware */
model_name = fu_pxi_firmware_get_model_name(FU_PXI_FIRMWARE(firmware));
if ((flags & FWUPD_INSTALL_FLAG_FORCE) == 0) {
if ((flags & FWUPD_INSTALL_FLAG_IGNORE_VID_PID) == 0) {
if (self->model_name == NULL || model_name == NULL) {
g_set_error_literal(error,
FWUPD_ERROR,
Expand Down

0 comments on commit 3242dfe

Please sign in to comment.