mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 04:33:08 +00:00
Revert "bcm57xx: Use PCI function 1 as 0 does not work with the Dell KH08P"
This reverts commit b5eddee5f6
.
Using pci function 0 works on my Lenovo P50 but not my Lenovo X1. Don't break
machines where we are shipping the chip rather than ones where we probably are
not, especially when it's probably a kernel bug somewhere.
Fixes https://github.com/fwupd/fwupd/issues/2608
This commit is contained in:
parent
173d389fa5
commit
d99f74f0b7
@ -57,8 +57,8 @@ fu_bcm57xx_device_probe (FuUdevDevice *device, GError **error)
|
||||
g_autofree gchar *fn = NULL;
|
||||
g_autoptr(GPtrArray) ifaces = NULL;
|
||||
|
||||
/* only enumerate first device */
|
||||
if (fu_udev_device_get_number (device) != 1) {
|
||||
/* only enumerate number 0 */
|
||||
if (fu_udev_device_get_number (device) != 0) {
|
||||
g_set_error_literal (error,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_SUPPORTED,
|
||||
|
Loading…
Reference in New Issue
Block a user